mod: 替换无状态组件

This commit is contained in:
guozhigq
2023-05-27 10:54:36 +08:00
parent c2aeb443a0
commit 0d49f9824c
7 changed files with 101 additions and 138 deletions

View File

@ -47,12 +47,15 @@ class HomeAppBar extends StatelessWidget {
IconButton(
onPressed: () {
Get.bottomSheet(
const SizedBox(
Builder(builder: (context) {
return const SizedBox(
height: 450,
child: MinePage(),
),
clipBehavior: Clip.hardEdge,
isScrollControlled: true);
);
}),
clipBehavior: Clip.hardEdge,
isScrollControlled: true,
);
},
icon: const Icon(CupertinoIcons.person, size: 22),
),