当前位置:网站首页>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),)
],
),
边栏推荐
- 1218 square or round
- 【LeetCode 43】236. The nearest common ancestor of binary tree
- 遷移雲計算工作負載的四個基本策略
- The smart Park "ZhongGuanCun No.1" subverts your understanding of the park
- 734. Energy stone (greed, backpack)
- 剑指 Offer 47. 礼物的最大价值
- Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory
- Post infiltration flow encryption
- Laravel artisan common commands
- Regular expression learning notes
猜你喜欢
Matlab uses resample to complete resampling
The concepts and differences between MySQL stored procedures and stored functions, as well as how to create them, the role of delimiter, the viewing, modification, deletion of stored procedures and fu
What is the MySQL column to row function
人工智能在网络安全中的作用
[Video] visual interpretation of Markov chain principle and Mrs example of R language region conversion | data sharing
JMeter (II) - install the custom thread groups plug-in
Matlab uses audiorecorder and recordblocking to record sound, play to play sound, and audiobook to save sound
leetcode2305. 公平分发饼干(中等,周赛,状压dp)
Design and implementation of key value storage engine based on LSM tree
Three core problems of concurrent programming
随机推荐
剑指 Offer II 031. 最近最少使用缓存
[question] - why is optical flow not good for static scenes
Based on configured schedule, the given trigger will never fire
leetcode2305. Fair distribution of biscuits (medium, weekly, shaped pressure DP)
Opengauss database backup and recovery guide
What is the MySQL column to row function
Opencascade7.6 compilation
Selection of field types for creating tables in MySQL database
Construction and maintenance of business websites [11]
OpenCASCADE7.6编译
Design and implementation of key value storage engine based on LSM tree
Makefile simple induction
There are spaces in the for loop variable in the shell -- IFS variable
1217 supermarket coin processor
开发工具创新升级,鲲鹏推进计算产业“竹林”式生长
【深度学习】infomap 人脸聚类 facecluster
Open that kind of construction document
2022 Q2 - 提昇技能的技巧總結
正则表达式学习笔记
Discussion on the idea of platform construction