当前位置:网站首页>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),)
],
),
边栏推荐
- 自动浏览拼多多商品
- Implementation principle of city selector component
- JMeter (II) - install the custom thread groups plug-in
- How does MySQL solve the problem of not releasing space after deleting a large amount of data
- 2022 Q2 - résumé des compétences pour améliorer les compétences
- 321. Chessboard segmentation (2D interval DP)
- 5g/4g pole gateway_ Smart pole gateway
- How to execute an SQL in MySQL
- MySQL如何解决delete大量数据后空间不释放的问题
- 正则表达式学习笔记
猜你喜欢
SQLite 3 of embedded database
MySQL约束与多表查询实例分析
Ar Augmented Reality applicable scenarios
MATLAB realizes voice signal resampling and normalization, and plays the comparison effect
leetcode373. 查找和最小的 K 对数字(中等)
leetcode2305. Fair distribution of biscuits (medium, weekly, shaped pressure DP)
734. Energy stone (greed, backpack)
Opencascade7.6 compilation
Medical management system (C language course for freshmen)
Architecture evolution from MVC to DDD
随机推荐
Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory
医药管理系统(大一下C语言课设)
剑指 Offer 29. 顺时针打印矩阵
How to use a product to promote "brand thrill"?
JPM 2021 most popular paper released (with download)
Discussion on the idea of platform construction
There are spaces in the for loop variable in the shell -- IFS variable
pytest 测试框架
leetcode2312. Selling wood blocks (difficult, weekly race)
Golang lock
Deep learning: a solution to over fitting in deep neural networks
JMeter (I) - download, installation and plug-in management
2022 Q2 - 提升技能的技巧总结
This is the form of the K-line diagram (pithy formula)
leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)
5g/4g pole gateway_ Smart pole gateway
How to use redis ordered collection
Sword finger offer 31 Stack push in and pop-up sequence
VARIATIONAL IMAGE COMPRESSION WITH A SCALE HYPERPRIOR文献实验复现
Software No.1