mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
migrate: material 3
This commit is contained in:
@@ -13,7 +13,8 @@ class CardDialog extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AlertDialog(
|
||||
contentPadding: padding ?? const EdgeInsets.fromLTRB(24, 17, 24, 7),
|
||||
contentPadding: padding,
|
||||
actionsPadding: const EdgeInsets.all(7),
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(Radius.circular(20.0)),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user