mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-12 01:34:10 +00:00
parent
3feb5acf71
commit
e2a9493b61
1 changed files with 20 additions and 23 deletions
|
@ -15,7 +15,7 @@ class BrandBottomSheet extends StatelessWidget {
|
||||||
Widget build(final BuildContext context) {
|
Widget build(final BuildContext context) {
|
||||||
final double mainHeight = MediaQuery.of(context).size.height -
|
final double mainHeight = MediaQuery.of(context).size.height -
|
||||||
MediaQuery.of(context).padding.top -
|
MediaQuery.of(context).padding.top -
|
||||||
100;
|
300;
|
||||||
late Widget innerWidget;
|
late Widget innerWidget;
|
||||||
if (isExpended) {
|
if (isExpended) {
|
||||||
innerWidget = Scaffold(
|
innerWidget = Scaffold(
|
||||||
|
@ -29,9 +29,7 @@ class BrandBottomSheet extends StatelessWidget {
|
||||||
child: IntrinsicHeight(child: child),
|
child: IntrinsicHeight(child: child),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return ConstrainedBox(
|
return Column(
|
||||||
constraints: BoxConstraints(maxHeight: mainHeight + 4 + 6),
|
|
||||||
child: Column(
|
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Center(
|
Center(
|
||||||
|
@ -53,7 +51,6 @@ class BrandBottomSheet extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue