🐛 Fix app drawer show on mobile
This commit is contained in:
parent
9498d428cd
commit
00eef6e45a
@ -62,11 +62,16 @@ class AppScaffold extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (showDrawer) {
|
if (showDrawer && ResponsiveBreakpoints.of(context).largerThan(MOBILE)) {
|
||||||
|
final devicePixelRatio = MediaQuery.of(context).devicePixelRatio;
|
||||||
|
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
AppNavigationDrawer(),
|
AppNavigationDrawer(),
|
||||||
VerticalDivider(width: 1, color: Theme.of(context).dividerColor),
|
VerticalDivider(
|
||||||
|
width: 1 / devicePixelRatio,
|
||||||
|
thickness: 1 / devicePixelRatio,
|
||||||
|
),
|
||||||
Expanded(child: innerWidget),
|
Expanded(child: innerWidget),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 2.0.0+2
|
version: 2.0.0+3
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.5.4
|
sdk: ^3.5.4
|
||||||
|
Loading…
Reference in New Issue
Block a user