当前位置:网站首页>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),)
],
),
边栏推荐
- How to use a product to promote "brand thrill"?
- [C #] use regular verification content
- [Video] visual interpretation of Markov chain principle and Mrs example of R language region conversion | data sharing
- Parted command
- JMeter (II) - install the custom thread groups plug-in
- AR增强现实可应用的场景
- Four basic strategies for migrating cloud computing workloads
- Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage
- How does MySQL solve the problem of not releasing space after deleting a large amount of data
- mysql列转行函数指的是什么
猜你喜欢

Which is a good Bluetooth headset of about 300? 2022 high cost performance Bluetooth headset inventory

Five skills of adding audio codec to embedded system

734. Energy stone (greed, backpack)

Number of palindromes in C language (leetcode)

New news, Wuhan Yangluo international port, filled with black technology, refreshes your understanding of the port

Design and implementation of key value storage engine based on LSM tree

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

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

479. Additive binary tree (interval DP on the tree)

Software No.1
随机推荐
leetcode2305. 公平分发饼干(中等,周赛,状压dp)
With the innovation and upgrading of development tools, Kunpeng promotes the "bamboo forest" growth of the computing industry
Another programmer "deleted the library and ran away", deleted the code of the retail platform, and was sentenced to 10 months
The smart Park "ZhongGuanCun No.1" subverts your understanding of the park
Makefile simple induction
Medical management system (C language course for freshmen)
Four basic strategies for migrating cloud computing workloads
np. Where and torch Where usage
AR增强现实可应用的场景
剑指 Offer II 031. 最近最少使用缓存
【视频】马尔可夫链原理可视化解释与R语言区制转换MRS实例|数据分享
How to build and use redis environment
1222. Password dropping (interval DP, bracket matching)
Using mongodb in laravel
软件开发生命周期 --瀑布模型
分卷压缩,解压
Construction and maintenance of business websites [11]
跨域?同源?一次搞懂什么是跨域
Openssl3.0 learning XXI provider encoder
What is AQS and its principle