当前位置:网站首页>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),)
],
),
边栏推荐
- MySQL主从延迟问题怎么解决
- New news, Wuhan Yangluo international port, filled with black technology, refreshes your understanding of the port
- Post infiltration flow encryption
- What is AQS and its principle
- [graduation season] graduate seniors share how to make undergraduate more meaningful
- 花一个星期时间呕心沥血整理出高频软件测试/自动化测试面试题和答案
- Design and implementation of key value storage engine based on LSM tree
- MySQL view concept, create view, view, modify view, delete view
- SQLite 3 of embedded database
- Four basic strategies for migrating cloud computing workloads
猜你喜欢
JMeter (II) - install the custom thread groups plug-in
Learn basic K-line diagram knowledge in three minutes
How to turn off debug information in rtl8189fs
[Video] visual interpretation of Markov chain principle and Mrs example of R language region conversion | data sharing
leetcode2312. Selling wood blocks (difficult, weekly race)
[question] - why is optical flow not good for static scenes
MySQL中一条SQL是怎么执行的
并发编程的三大核心问题
matlab 使用 audioread 、 sound 读取和播放 wav 文件
How to use redis ordered collection
随机推荐
牛客网——华为题库(51~60)
Matlab uses audioread and sound to read and play WAV files
matlab 实现语音信号重采样和归一化,并播放比对效果
Sword finger offer 31 Stack push in and pop-up sequence
Construction and maintenance of business websites [10]
new和malloc的区别
MySQL如何解决delete大量数据后空间不释放的问题
Five skills of adding audio codec to embedded system
Cross domain? Homology? Understand what is cross domain at once
leetcode2311. Longest binary subsequence less than or equal to K (medium, weekly)
医药管理系统(大一下C语言课设)
There are spaces in the for loop variable in the shell -- IFS variable
Open那啥的搭建文档
1069. Division of convex polygons (thinking, interval DP)
SQLite 3 of embedded database
Opencascade7.6 compilation
WebGPU(一):基本概念
The smart Park "ZhongGuanCun No.1" subverts your understanding of the park
How to debug apps remotely and online?
How to use redis ordered collection