* 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:
2026-04-30 06:45:51 +08:00
parent 48cd3bcd60
commit 783c5eb0be
19 changed files with 1224 additions and 887 deletions
+2
View File
@@ -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,