ui布局
This commit is contained in:
parent
501a60babe
commit
638824974d
@ -59,6 +59,10 @@ class ImgCategoryPageView extends GetView {
|
|||||||
height: 40,
|
height: 40,
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
mainAxisSize: MainAxisSize.max,
|
||||||
|
// 交叉轴的布局方式,对于column来说就是水平方向的布局方式
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
IconButton(onPressed:() {
|
IconButton(onPressed:() {
|
||||||
print("download....");
|
print("download....");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user