当前位置:网站首页>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),)
],
),
边栏推荐
- 剑指 Offer 42. 连续子数组的最大和
- There are spaces in the for loop variable in the shell -- IFS variable
- "C language programming", 4th Edition, edited by he Qinming and Yan Hui, after class exercise answers Chapter 3 branch structure Exercise 3
- Architecture evolution from MVC to DDD
- Construction and maintenance of business websites [11]
- matlab 使用 audioread 、 sound 读取和播放 wav 文件
- [graduation season] graduate seniors share how to make undergraduate more meaningful
- This is the form of the K-line diagram (pithy formula)
- 如何用一款产品推动「品牌的惊险一跃」?
- Sword finger offer 47 Maximum value of gifts
猜你喜欢

Should enterprises choose server free computing?

开发工具创新升级,鲲鹏推进计算产业“竹林”式生长

How to build and use redis environment

leetcode2310. 个位数字为 K 的整数之和(中等,周赛)

如何远程、在线调试app?

Matlab uses audioread and sound to read and play WAV files

Redis有序集合如何使用

开发那些事儿:如何利用Go单例模式保障流媒体高并发的安全性?

JPM 2021 most popular paper released (with download)

花一个星期时间呕心沥血整理出高频软件测试/自动化测试面试题和答案
随机推荐
开发那些事儿:如何利用Go单例模式保障流媒体高并发的安全性?
leetcode2305. 公平分发饼干(中等,周赛,状压dp)
pytest 测试框架
Five skills of adding audio codec to embedded system
Sword finger offer 31 Stack push in and pop-up sequence
Data analysis on the disaster of Titanic
[技术发展-21]:网络与通信技术的应用与发展快速概览-1- 互联网网络技术
【深度学习】infomap 人脸聚类 facecluster
[question] - why is optical flow not good for static scenes
1069. Division of convex polygons (thinking, interval DP)
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
JMeter (II) - install the custom thread groups plug-in
Sword finger offer 62 The last remaining number in the circle
What style of Bluetooth headset is easy to use? High quality Bluetooth headset ranking
Parted command
leetcode373. 查找和最小的 K 对数字(中等)
How can the tsingsee Qingxi platform play multiple videos at the same time on the same node?
Ks006 student achievement management system based on SSM
Architecture evolution from MVC to DDD
1217 supermarket coin processor