* Task/Ticket desktop dialogs — widened from 520 → 600dp, and tasks now uses SizedBox(width: 600) instead of ConstrainedBox(maxWidth:) which was the root cause of the "still small" issue (max-only never forced expansion)
* Pass Slip + Leave — both dialogs gained an isSheet flag; callers now branch on AppBreakpoints.tablet: bottom sheet on mobile, dialog on desktop
This commit is contained in:
@@ -533,11 +533,13 @@ Future<T?> m3ShowBottomSheet<T>({
|
||||
required WidgetBuilder builder,
|
||||
bool showDragHandle = true,
|
||||
bool isScrollControlled = false,
|
||||
bool useSafeArea = false,
|
||||
}) {
|
||||
return showModalBottomSheet<T>(
|
||||
context: context,
|
||||
showDragHandle: showDragHandle,
|
||||
isScrollControlled: isScrollControlled,
|
||||
useSafeArea: useSafeArea,
|
||||
transitionAnimationController: AnimationController(
|
||||
vsync: Navigator.of(context),
|
||||
duration: M3Motion.standard,
|
||||
|
||||
Reference in New Issue
Block a user