当前位置:网站首页>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),)
],
),
边栏推荐
- 2022 Q2 - 提昇技能的技巧總結
- OpenCASCADE7.6编译
- Using mongodb in laravel
- 牛客网——华为题库(51~60)
- Data analysis on the disaster of Titanic
- Openssl3.0 learning XXI provider encoder
- MySQL view concept, create view, view, modify view, delete view
- leetcode2309. The best English letters with both upper and lower case (simple, weekly)
- Construction and maintenance of business websites [12]
- MySQL如何解决delete大量数据后空间不释放的问题
猜你喜欢

MySQL主从延迟问题怎么解决

leetcode2305. 公平分发饼干(中等,周赛,状压dp)

Medical management system (C language course for freshmen)

Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage

Should enterprises choose server free computing?

leetcode2312. Selling wood blocks (difficult, weekly race)

321. Chessboard segmentation (2D interval DP)

What style of Bluetooth headset is easy to use? High quality Bluetooth headset ranking

leetcode2309. 兼具大小写的最好英文字母(简单,周赛)

MySQL constraints and multi table query example analysis
随机推荐
Volume compression, decompression
MySQL主从延迟问题怎么解决
2022 Q2 - résumé des compétences pour améliorer les compétences
leetcode2312. 卖木头块(困难,周赛)
剑指 Offer 29. 顺时针打印矩阵
np.where 和 torch.where 用法
自动浏览拼多多商品
Sword finger offer 31 Stack push in and pop-up sequence
Logging only errors to the console Set system property ‘log4j2. debug‘ to sh
matlab 使用 resample 完成重采样
Cross domain? Homology? Understand what is cross domain at once
SQLite 3 of embedded database
leetcode2310. The one digit number is the sum of integers of K (medium, weekly)
剑指 Offer 42. 连续子数组的最大和
Architecture evolution from MVC to DDD
开发工具创新升级,鲲鹏推进计算产业“竹林”式生长
[C #] use regular verification content
From January 11, 2007 to January 11, 2022, I have been in SAP Chengdu Research Institute for 15 years
2022 Q2 - 提昇技能的技巧總結
JMeter (I) - download, installation and plug-in management