This commit is contained in:
xh 2024-07-16 16:07:11 +08:00
parent fec55c2366
commit 6173c196a5

View File

@ -25,9 +25,7 @@ class DrawerView extends StatelessWidget {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
SizedBox( SizedBox(height: MediaQuery.of(context).padding.top + 15.w),
height: MediaQuery.of(context).padding.top + 15.w,
),
Container( Container(
margin: EdgeInsets.only(left: 16.w), margin: EdgeInsets.only(left: 16.w),
child: Text( child: Text(
@ -36,7 +34,8 @@ class DrawerView extends StatelessWidget {
fontSize: 24.sp, fontSize: 24.sp,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
color: Colors.white), color: Colors.white),
)), ),
),
10.verticalSpace, 10.verticalSpace,
Expanded( Expanded(
child: MasonryGridView.count( child: MasonryGridView.count(
@ -94,7 +93,8 @@ class DrawerView extends StatelessWidget {
), ),
), ),
], ],
)), ),
),
); );
} }
} }