Realm responsive

This commit is contained in:
LittleSheep 2024-12-08 17:17:08 +08:00
parent afc49a7a2a
commit 772a33896d

View File

@ -185,7 +185,9 @@ class _RealmScreenState extends State<RealmScreen> {
); );
} }
return Card( return Container(
constraints: BoxConstraints(maxWidth: 640),
child: Card(
margin: const EdgeInsets.all(12), margin: const EdgeInsets.all(12),
child: InkWell( child: InkWell(
borderRadius: const BorderRadius.all(Radius.circular(8)), borderRadius: const BorderRadius.all(Radius.circular(8)),
@ -241,7 +243,8 @@ class _RealmScreenState extends State<RealmScreen> {
); );
}, },
), ),
); ),
).center();
}, },
), ),
), ),