当前位置:网站首页>flutter 中間一個元素,最右邊一個元素
flutter 中間一個元素,最右邊一個元素
2022-07-02 02:02:00 【氤氳息】
中間一個元素,最右邊一個元素
Row(
mainAxisAlignment: MainAxisAlignment.center,//這個很關鍵
children: [
Expanded(//這個很關鍵
child: Container(
alignment: Alignment.center,//這個很關鍵
margin: const EdgeInsets.only(top: 10, bottom: 10),
child: const Text(
"增加次數",
style: TextStyle(color: Colors.white),
),
),
),
Container(child: const Image(
image: AssetImage(
'assets/images/[email protected]2x.png'),
gaplessPlayback: true,
width: 18,
height: 17),)
],
),
边栏推荐
- 479. Additive binary tree (interval DP on the tree)
- leetcode2310. 个位数字为 K 的整数之和(中等,周赛)
- 剑指 Offer 62. 圆圈中最后剩下的数字
- Sword finger offer 47 Maximum value of gifts
- This is the form of the K-line diagram (pithy formula)
- 正则表达式学习笔记
- Experimental reproduction of variable image compression with a scale hyperprior
- 自动浏览拼多多商品
- Deep learning: a solution to over fitting in deep neural networks
- 遷移雲計算工作負載的四個基本策略
猜你喜欢

Data analysis on the disaster of Titanic

How to solve MySQL master-slave delay problem

How to execute an SQL in MySQL

Word search applet design report based on cloud development +ppt+ project source code + demonstration video

Matlab uses audioread and sound to read and play WAV files

MySQL view concept, create view, view, modify view, delete view

【视频】马尔可夫链原理可视化解释与R语言区制转换MRS实例|数据分享

AR增强现实可应用的场景

leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)

MATLAB realizes voice signal resampling and normalization, and plays the comparison effect
随机推荐
1218 square or round
剑指 Offer II 031. 最近最少使用缓存
并发编程的三大核心问题
How to build and use redis environment
This is the report that leaders like! Learn dynamic visual charts, promotion and salary increase are indispensable
Implementation principle of city selector component
MySQL view concept, create view, view, modify view, delete view
With the innovation and upgrading of development tools, Kunpeng promotes the "bamboo forest" growth of the computing industry
电子协会 C语言 1级 32、计算2的幂
WebGPU(一):基本概念
Cross domain? Homology? Understand what is cross domain at once
leetcode373. Find and minimum k-pair numbers (medium)
JMeter (II) - install the custom thread groups plug-in
Based on configured schedule, the given trigger will never fire
From January 11, 2007 to January 11, 2022, I have been in SAP Chengdu Research Institute for 15 years
* and & symbols in C language
How to solve MySQL master-slave delay problem
2022 Q2 - Summary of skills to improve skills
2022 Q2 - 提昇技能的技巧總結
Construction and maintenance of business websites [11]