当前位置:网站首页>Flutter linear layout, filling
Flutter linear layout, filling
2022-07-23 09:05:00 【Dense breath】
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expanded(// This is the key
child: Container(
alignment: Alignment.center,// This is filled
child: const Text(
" ",
style: TextStyle(fontSize: 18),
),
),
),
Expanded(// This is the key
child: Container(
margin: const EdgeInsets.only(left: 16, top: 15),
alignment: Alignment.center,// This is filled
child: const Text(
" Throw one ",
style: TextStyle(
fontSize: 16,
color: Color(0xFF1A1A1A),
fontWeight: FontWeight.w500),
),
),
),
Expanded(// This is the key
child: GestureDetector(
onTap: () {
MyRouter.pushMy(context, BottleRule());
},
child: Container(
alignment: Alignment.centerRight,// This is filled
margin: EdgeInsets.only(top: 15),
child: Container(
margin: EdgeInsets.only(right: 16),
child: const Image(
image: AssetImage(
'assets/images/icon_drift_instrution_black.png'),
width: 24,
height: 24,
),
),
),
)),
],
),
边栏推荐
- Practical exercise | a simple method for MySQL processlist table and Navicat monitor to identify slow queries
- Developed an app that can run small programs with fluent
- Online matting and background changing and erasing tools
- 小白股票开户安全吗?网上可以办理吗?
- Basic operations of DDL and DML in SQL (database)
- TCP数据传输与性能
- DALSA smart camera boa spot communicates with Siemens s7-1200 PROFINET
- What is the experience of writing concurrent tool classes (semaphore, cyclicbarrier, countdownlatch) by yourself in line 30?
- Flutter 3.0
- Common CMD commands summarize the conversion between binary and decimal
猜你喜欢

DOM系列之禁止选中文字和禁止右键菜单

Under Arduino frame, esp32c3 +1.8 "TFT LCD is driven and displayed through tft_espi library

整理mysql面试题55题(含答案)

.NET开发云原生应用,你只差给自己加个油

Practical exercise | a simple method for MySQL processlist table and Navicat monitor to identify slow queries

PMP备考心得 | 好的习惯、好的过程、好的结果

BGP experiment

Svg+js mouse hover parallax JS effect
![[ctfshow web getting started]ssrf](/img/eb/19c215fcacc0f101510a77c6d1edc3.png)
[ctfshow web getting started]ssrf

数学建模——图与网络模型及方法(二)
随机推荐
生成13位条形码
全新 IDEA 2022.2 正式发布,新特性很NICE
There was an accident caused by MySQL misoperation, and "high availability" couldn't stand it
IDM下载器免费高质量的Win下载工具无使用限制
工作中遇到一个bug的解决过程
Unity中实现判断Missing还是Null
Unity3D学习笔记9——加载纹理
IDEA导出jar包到JMeter
SQL Server database design -- select statement
BGP experiment
7. Image data processing of paddlepaddle
[hero planet July training leetcode problem solving daily] the 22nd day of the orderly gathering
Common CMD commands summarize the conversion between binary and decimal
发现了一个好用到爆的数据分析利器
在线抠图和换背景及擦除工具
没有需求文档,拒绝开发?
视频点播中相关分辨率说明
198. 打家劫舍
疫情隔离区订餐系统的开发
Sort out 55 MySQL interview questions (including answers)