maybeWhen<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
  1. {TResult text(
    1. String data,
    2. Key? key,
    3. TextStyle? style,
    4. StrutStyle? strutStyle,
    5. TextAlign? textAlign,
    6. TextDirection? textDirection,
    7. Locale? locale,
    8. bool? softWrap,
    9. TextOverflow? overflow,
    10. double? textScaleFactor,
    11. int? maxLines,
    12. String? semanticsLabel,
    13. TextWidthBasis? textWidthBasis,
    14. TextHeightBehavior? textHeightBehavior,
    15. Color? selectionColor
    )?,
  2. TResult sizedBox(
    1. Key? key,
    2. double? width,
    3. double? height,
    4. Widget? child
    )?,
  3. TResult sizedBoxExpanded(
    1. Key? key,
    2. Widget? child
    )?,
  4. TResult sizedBoxShrink(
    1. Key? key,
    2. Widget? child
    )?,
  5. TResult container(
    1. Key? key,
    2. Alignment? alignment,
    3. EdgeInsets? padding,
    4. Color? color,
    5. Decoration? decoration,
    6. Decoration? foregroundDecoration,
    7. double? width,
    8. double? height,
    9. BoxConstraints? constraints,
    10. EdgeInsets? margin,
    11. Matrix4? transform,
    12. Alignment? transformAlignment,
    13. Widget? child,
    14. Clip clipBehavior
    )?,
  6. TResult constrainedBox(
    1. Key? key,
    2. BoxConstraints constraints,
    3. Widget? child
    )?,
  7. TResult flex(
    1. Key? key,
    2. Axis direction,
    3. MainAxisAlignment mainAxisAlignment,
    4. MainAxisSize mainAxisSize,
    5. CrossAxisAlignment crossAxisAlignment,
    6. TextDirection? textDirection,
    7. VerticalDirection verticalDirection,
    8. TextBaseline? textBaseline,
    9. Clip clipBehavior,
    10. List<Widget> children
    )?,
  8. TResult wrap(
    1. Key? key,
    2. Axis direction,
    3. WrapAlignment alignment,
    4. double spacing,
    5. WrapAlignment runAlignment,
    6. double runSpacing,
    7. WrapCrossAlignment crossAxisAlignment,
    8. TextDirection? textDirection,
    9. VerticalDirection verticalDirection,
    10. Clip clipBehavior,
    11. List<Widget> children
    )?,
  9. TResult row(
    1. Key? key,
    2. MainAxisAlignment mainAxisAlignment,
    3. MainAxisSize mainAxisSize,
    4. CrossAxisAlignment crossAxisAlignment,
    5. TextDirection? textDirection,
    6. VerticalDirection verticalDirection,
    7. TextBaseline? textBaseline,
    8. List<Widget> children
    )?,
  10. TResult column(
    1. Key? key,
    2. MainAxisAlignment mainAxisAlignment,
    3. MainAxisSize mainAxisSize,
    4. CrossAxisAlignment crossAxisAlignment,
    5. TextDirection? textDirection,
    6. VerticalDirection verticalDirection,
    7. TextBaseline? textBaseline,
    8. List<Widget> children
    )?,
  11. TResult stack(
    1. Key? key,
    2. Alignment alignment,
    3. TextDirection? textDirection,
    4. StackFit fit,
    5. Clip clipBehavior,
    6. List<Widget> children
    )?,
  12. TResult positioned(
    1. Key? key,
    2. double? left,
    3. double? top,
    4. double? right,
    5. double? bottom,
    6. double? width,
    7. double? height,
    8. Widget child
    )?,
  13. TResult image(
    1. Key? key,
    2. ImageProvider image,
    3. String? semanticLabel,
    4. bool excludeFromSemantics,
    5. double? width,
    6. double? height,
    7. Color? color,
    8. BlendMode? colorBlendMode,
    9. BoxFit? fit,
    10. Alignment alignment,
    11. ImageRepeat repeat,
    12. Rect? centerSlice,
    13. bool matchTextDirection,
    14. bool gaplessPlayback,
    15. bool isAntiAlias,
    16. FilterQuality filterQuality
    )?,
  14. TResult flexible(
    1. Key? key,
    2. int flex,
    3. FlexFit fit,
    4. Widget child
    )?,
  15. TResult expanded(
    1. Key? key,
    2. int flex,
    3. Widget child
    )?,
  16. TResult center(
    1. Key? key,
    2. double? widthFactor,
    3. double? heightFactor,
    4. Widget child
    )?,
  17. TResult padding(
    1. Key? key,
    2. EdgeInsets padding,
    3. Widget child
    )?,
  18. TResult spacer(
    1. Key? key,
    2. int flex
    )?,
  19. TResult scrollBar(
    1. Key? key,
    2. Widget child,
    3. bool? thumbVisibility,
    4. bool? trackVisibility,
    5. double? thickness,
    6. Radius? radius,
    7. bool? interactive,
    8. ScrollbarOrientation? scrollbarOrientation
    )?,
  20. TResult singleChildScrollView(
    1. Key? key,
    2. Axis scrollDirection,
    3. bool reverse,
    4. EdgeInsets? padding,
    5. bool? primary,
    6. ScrollPhysics? physics,
    7. Widget? child,
    8. Clip clipBehavior,
    9. String? restorationId,
    10. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior
    )?,
  21. TResult listView(
    1. Key? key,
    2. Axis scrollDirection,
    3. bool reverse,
    4. bool? primary,
    5. ScrollPhysics? physics,
    6. bool shrinkWrap,
    7. EdgeInsets? padding,
    8. double? itemExtent,
    9. Widget? prototypeItem,
    10. bool addAutomaticKeepAlives,
    11. bool addRepaintBoundaries,
    12. bool addSemanticIndexes,
    13. double? cacheExtent,
    14. List<Widget> children,
    15. int? semanticChildCount,
    16. String? restorationId,
    17. Clip clipBehavior
    )?,
  22. TResult icon(
    1. IconData? icon,
    2. Key? key,
    3. double? size,
    4. double? fill,
    5. double? weight,
    6. double? grade,
    7. double? opticalSize,
    8. Color? color,
    9. List<Shadow>? shadows,
    10. String? semanticLabel,
    11. TextDirection? textDirection
    )?,
  23. TResult iconButton(
    1. Key? key,
    2. double? iconSize,
    3. VisualDensity? visualDensity,
    4. EdgeInsets? padding,
    5. Alignment? alignment,
    6. double? splashRadius,
    7. Color? color,
    8. Color? focusColor,
    9. Color? hoverColor,
    10. Color? highlightColor,
    11. Color? splashColor,
    12. Color? disabledColor,
    13. Callback onPressed,
    14. MouseCursor? mouseCursor,
    15. bool autofocus,
    16. String? tooltip,
    17. bool? enableFeedback,
    18. BoxConstraints? constraints,
    19. bool? isSelected,
    20. Widget? selectedIcon,
    21. Widget icon
    )?,
  24. TResult scaffold(
    1. Key? key,
    2. PreferredSizeWidget? appBar,
    3. Widget? body,
    4. Widget? floatingActionButton,
    5. FloatingActionButtonLocation? floatingActionButtonLocation,
    6. List<Widget>? persistentFooterButtons,
    7. Alignment persistentFooterAlignment,
    8. Widget? drawer,
    9. Widget? endDrawer,
    10. Widget? bottomNavigationBar,
    11. Widget? bottomSheet,
    12. Color? backgroundColor,
    13. bool? resizeToAvoidBottomInset,
    14. bool primary,
    15. bool extendBody,
    16. bool extendBodyBehindAppBar,
    17. Color? drawerScrimColor,
    18. double? drawerEdgeDragWidth,
    19. bool drawerEnableOpenDragGesture,
    20. bool endDrawerEnableOpenDragGesture,
    21. String? restorationId
    )?,
  25. TResult floatingActionButton(
    1. Key? key,
    2. Widget? child,
    3. String? tooltip,
    4. Color? foregroundColor,
    5. Color? backgroundColor,
    6. Color? focusColor,
    7. Color? hoverColor,
    8. Color? splashColor,
    9. double? elevation,
    10. double? focusElevation,
    11. double? hoverElevation,
    12. double? highlightElevation,
    13. double? disabledElevation,
    14. Callback? onPressed,
    15. MouseCursor? mouseCursor,
    16. bool mini,
    17. ShapeBorder? shape,
    18. Clip clipBehavior,
    19. bool autofocus,
    20. MaterialTapTargetSize? materialTapTargetSize,
    21. bool isExtended,
    22. bool? enableFeedback
    )?,
  26. TResult floatingActionButtonExtended(
    1. Key? key,
    2. Widget label,
    3. Widget? icon,
    4. String? tooltip,
    5. Color? foregroundColor,
    6. Color? backgroundColor,
    7. Color? focusColor,
    8. Color? hoverColor,
    9. Color? splashColor,
    10. double? elevation,
    11. double? focusElevation,
    12. double? hoverElevation,
    13. double? highlightElevation,
    14. double? disabledElevation,
    15. Callback? onPressed,
    16. MouseCursor? mouseCursor,
    17. ShapeBorder? shape,
    18. Clip clipBehavior,
    19. bool autofocus,
    20. MaterialTapTargetSize? materialTapTargetSize,
    21. bool isExtended,
    22. bool? enableFeedback
    )?,
  27. TResult card(
    1. Key? key,
    2. Color? color,
    3. Color? shadowColor,
    4. Color? surfaceTintColor,
    5. double? elevation,
    6. ShapeBorder? shape,
    7. bool borderOnForeground,
    8. EdgeInsets? margin,
    9. Clip? clipBehavior,
    10. Widget? child,
    11. bool semanticContainer
    )?,
  28. TResult divider(
    1. Key? key,
    2. double? height,
    3. double? thickness,
    4. double? indent,
    5. double? endIndent,
    6. Color? color
    )?,
  29. TResult verticalDivider(
    1. Key? key,
    2. double? width,
    3. double? thickness,
    4. double? indent,
    5. double? endIndent,
    6. Color? color
    )?,
  30. TResult material(
    1. Key? key,
    2. MaterialType type,
    3. double elevation,
    4. Color? color,
    5. Color? shadowColor,
    6. Color? surfaceTintColor,
    7. TextStyle? textStyle,
    8. BorderRadius? borderRadius,
    9. ShapeBorder? shape,
    10. bool borderOnForeground,
    11. Clip clipBehavior,
    12. Duration animationDuration,
    13. Widget? child
    )?,
  31. TResult materialButton(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. MouseCursor? mouseCursor,
    5. Color? textColor,
    6. Color? disabledTextColor,
    7. Color? color,
    8. Color? disabledColor,
    9. Color? focusColor,
    10. Color? hoverColor,
    11. Color? highlightColor,
    12. Color? splashColor,
    13. Brightness? colorBrightness,
    14. double? elevation,
    15. double? focusElevation,
    16. double? hoverElevation,
    17. double? highlightElevation,
    18. double? disabledElevation,
    19. EdgeInsets? padding,
    20. VisualDensity? visualDensity,
    21. ShapeBorder? shape,
    22. Clip clipBehavior,
    23. bool autofocus,
    24. MaterialTapTargetSize? materialTapTargetSize,
    25. Duration? animationDuration,
    26. double? minWidth,
    27. double? height,
    28. bool enableFeedback,
    29. Widget? child
    )?,
  32. TResult outlinedButton(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool autofocus,
    5. Clip clipBehavior,
    6. Widget child
    )?,
  33. TResult outlinedButtonIcon(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool? autofocus,
    5. Clip? clipBehavior,
    6. Widget icon,
    7. Widget label
    )?,
  34. TResult textButton(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool autofocus,
    5. Clip clipBehavior,
    6. Widget child
    )?,
  35. TResult textButtonIcon(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool? autofocus,
    5. Clip? clipBehavior,
    6. Widget icon,
    7. Widget label
    )?,
  36. TResult filledButton(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool autofocus,
    5. Clip clipBehavior,
    6. Widget child
    )?,
  37. TResult filledButtonIcon(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool? autofocus,
    5. Clip? clipBehavior,
    6. Widget icon,
    7. Widget label
    )?,
  38. TResult filledTonalButton(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool autofocus,
    5. Clip clipBehavior,
    6. Widget child
    )?,
  39. TResult filledTonalButtonIcon(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool? autofocus,
    5. Clip? clipBehavior,
    6. Widget icon,
    7. Widget label
    )?,
  40. TResult elevatedButton(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool autofocus,
    5. Clip clipBehavior,
    6. Widget child
    )?,
  41. TResult elevatedButtonIcon(
    1. Key? key,
    2. Callback? onPressed,
    3. Callback? onLongPress,
    4. bool? autofocus,
    5. Clip? clipBehavior,
    6. Widget icon,
    7. Widget label
    )?,
  42. TResult fractionallySizedBox(
    1. Key? key,
    2. Alignment alignment,
    3. double? widthFactor,
    4. double? heightFactor,
    5. Widget? child
    )?,
  43. TResult fittedBox(
    1. Key? key,
    2. BoxFit fit,
    3. Alignment alignment,
    4. Clip clipBehavior,
    5. Widget? child
    )?,
  44. TResult gridView(
    1. Key? key,
    2. Axis scrollDirection,
    3. bool reverse,
    4. bool? primary,
    5. ScrollPhysics? physics,
    6. bool shrinkWrap,
    7. EdgeInsets? padding,
    8. SliverGridDelegate gridDelegate,
    9. bool addAutomaticKeepAlives,
    10. bool addRepaintBoundaries,
    11. bool addSemanticIndexes,
    12. double? cacheExtent,
    13. List<Widget> children,
    14. int? semanticChildCount,
    15. Clip clipBehavior,
    16. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
    17. String? restorationId
    )?,
  45. TResult placeholder(
    1. Key? key,
    2. Color color,
    3. double strokeWidth,
    4. double fallbackWidth,
    5. double fallbackHeight,
    6. Widget? child
    )?,
  46. TResult circularProgressIndicator(
    1. Key? key,
    2. double? value,
    3. Color? backgroundColor,
    4. Color? color,
    5. double strokeWidth,
    6. String? semanticsLabel,
    7. String? semanticsValue
    )?,
  47. TResult linearProgressIndicator(
    1. Key? key,
    2. double? value,
    3. Color? backgroundColor,
    4. Color? color,
    5. double? minHeight,
    6. String? semanticsLabel,
    7. String? semanticsValue
    )?,
  48. TResult materialApp(
    1. Key? key,
    2. Widget? home,
    3. String? initialRoute,
    4. String title,
    5. Color? color,
    6. ThemeData? theme,
    7. ThemeData? darkTheme,
    8. ThemeData? highContrastTheme,
    9. ThemeData? highContrastDarkTheme,
    10. ThemeMode? themeMode,
    11. Duration themeAnimationDuration,
    12. Curves themeAnimationCurve,
    13. Locale? locale,
    14. Iterable<Locale> supportedLocales,
    15. bool debugShowMaterialGrid,
    16. bool showPerformanceOverlay,
    17. bool checkerboardRasterCacheImages,
    18. bool checkerboardOffscreenLayers,
    19. bool showSemanticsDebugger,
    20. bool debugShowCheckedModeBanner,
    21. String? restorationScopeId,
    22. bool useInheritedMediaQuery,
    23. Map<String, Widget> routes
    )?,
  49. TResult interactiveViewer(
    1. Key? key,
    2. Clip clipBehavior,
    3. PanAxis panAxis,
    4. EdgeInsets boundaryMargin,
    5. bool constrained,
    6. double maxScale,
    7. double minScale,
    8. double interactionEndFrictionCoefficient,
    9. bool panEnabled,
    10. bool scaleEnabled,
    11. double scaleFactor,
    12. Alignment? alignment,
    13. Widget child
    )?,
  50. TResult customScrollView(
    1. Key? key,
    2. Axis scrollDirection,
    3. bool reverse,
    4. bool? primary,
    5. ScrollPhysics? physics,
    6. bool shrinkWrap,
    7. Key? center,
    8. double anchor,
    9. double? cacheExtent,
    10. List<Sliver> slivers,
    11. int? semanticChildCount,
    12. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
    13. String? restorationId,
    14. Clip clipBehavior
    )?,
  51. TResult listViewCustom(
    1. Key? key,
    2. Axis scrollDirection,
    3. bool reverse,
    4. bool? primary,
    5. ScrollPhysics? physics,
    6. bool shrinkWrap,
    7. EdgeInsets? padding,
    8. double? itemExtent,
    9. Widget? prototypeItem,
    10. SliverChildDelegate childrenDelegate,
    11. double? cacheExtent,
    12. int? semanticChildCount,
    13. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
    14. String? restorationId,
    15. Clip clipBehavior
    )?,
  52. TResult safeArea(
    1. Key? key,
    2. bool left,
    3. bool top,
    4. bool right,
    5. bool bottom,
    6. EdgeInsets minimum,
    7. bool maintainBottomViewPadding,
    8. Widget child
    )?,
  53. TResult offstage(
    1. Key? key,
    2. bool offstage,
    3. Widget? child
    )?,
  54. TResult opacity(
    1. Key? key,
    2. double opacity,
    3. bool alwaysIncludeSemantics,
    4. Widget? child
    )?,
  55. TResult nestedScrollView(
    1. Key? key,
    2. Axis scrollDirection,
    3. bool reverse,
    4. ScrollPhysics? physics,
    5. List<Sliver> slivers,
    6. List<Sliver>? innerBoxIsScrolledSlivers,
    7. Widget body,
    8. bool floatHeaderSlivers,
    9. Clip clipBehavior,
    10. String? restorationId
    )?,
  56. TResult aspectRatio(
    1. Key? key,
    2. double aspectRatio,
    3. Widget? child
    )?,
  57. TResult chip(
    1. Key? key,
    2. Widget? avatar,
    3. Widget label,
    4. TextStyle? labelStyle,
    5. EdgeInsets? labelPadding,
    6. Widget? deleteIcon,
    7. Callback? onDeleted,
    8. Color? deleteIconColor,
    9. String? deleteButtonTooltipMessage,
    10. BorderSide? side,
    11. ShapeBorder? shape,
    12. Clip clipBehavior,
    13. bool autofocus,
    14. Color? backgroundColor,
    15. EdgeInsets? padding,
    16. VisualDensity? visualDensity,
    17. MaterialTapTargetSize? materialTapTargetSize,
    18. double? elevation,
    19. Color? shadowColor,
    20. Color? surfaceTintColor
    )?,
  58. TResult magnifier(
    1. Key? key,
    2. Offset additionalFocalPointOffset,
    3. BorderRadius borderRadius,
    4. Color filmColor,
    5. List<BoxShadow> shadows,
    6. Size size
    )?,
  59. TResult table(
    1. Key? key,
    2. List<TableRow> children,
    3. Map<int, TableColumnWidth>? columnWidths,
    4. TableColumnWidth defaultColumnWidth,
    5. TextDirection? textDirection,
    6. TableBorder? border,
    7. TableCellVerticalAlignment defaultVerticalAlignment,
    8. TextBaseline? textBaseline
    )?,
  60. TResult dataTable(
    1. Key? key,
    2. List<DataColumn> columns,
    3. int? sortColumnIndex,
    4. bool sortAscending,
    5. Callback? onSelectAll,
    6. Callback? onDeselectAll,
    7. Decoration? decoration,
    8. MaterialStateProperty? dataRowColor,
    9. double? dataRowHeight,
    10. TextStyle? dataTextStyle,
    11. MaterialStateProperty? headingRowColor,
    12. double? headingRowHeight,
    13. TextStyle? headingTextStyle,
    14. double? horizontalMargin,
    15. double? columnSpacing,
    16. bool showCheckboxColumn,
    17. bool showBottomBorder,
    18. double? dividerThickness,
    19. List<DataRow> rows,
    20. double? checkboxHorizontalMargin,
    21. TableBorder? border,
    22. Clip clipBehavior
    )?,
  61. TResult repaintBoundary(
    1. Key? key,
    2. Widget? child
    )?,
  62. TResult clipRect(
    1. Key? key,
    2. Clip clipBehavior,
    3. Widget? child
    )?,
  63. TResult clipRRect(
    1. Key? key,
    2. BorderRadius? borderRadius,
    3. Clip clipBehavior,
    4. Widget? child
    )?,
  64. TResult clipOval(
    1. Key? key,
    2. Clip clipBehavior,
    3. Widget? child
    )?,
  65. TResult checkbox(
    1. Key? key,
    2. bool? value,
    3. bool tristate,
    4. FormBoolField? field,
    5. MouseCursor? mouseCursor,
    6. Color? activeColor,
    7. MaterialStateProperty? fillColor,
    8. Color? checkColor,
    9. Color? focusColor,
    10. Color? hoverColor,
    11. MaterialStateProperty? overlayColor,
    12. double? splashRadius,
    13. MaterialTapTargetSize? materialTapTargetSize,
    14. VisualDensity? visualDensity,
    15. bool autofocus,
    16. ShapeBorder? shape,
    17. BorderSide? side,
    18. bool isError
    )?,
  66. TResult listTile(
    1. Key? key,
    2. Widget? leading,
    3. Widget? title,
    4. Widget? subtitle,
    5. Widget? trailing,
    6. bool isThreeLine,
    7. bool? dense,
    8. VisualDensity? visualDensity,
    9. ShapeBorder? shape,
    10. Color? selectedColor,
    11. Color? iconColor,
    12. Color? textColor,
    13. EdgeInsets? contentPadding,
    14. bool enabled,
    15. Callback? onTap,
    16. Callback? onLongPress,
    17. MouseCursor? mouseCursor,
    18. bool selected,
    19. Color? focusColor,
    20. Color? hoverColor,
    21. Color? splashColor,
    22. bool autofocus,
    23. Color? tileColor,
    24. Color? selectedTileColor,
    25. bool? enableFeedback,
    26. double? horizontalTitleGap,
    27. double? minVerticalPadding,
    28. double? minLeadingWidth
    )?,
  67. TResult expansionTile(
    1. Key? key,
    2. Widget? leading,
    3. Widget title,
    4. Widget? subtitle,
    5. List<Widget> children,
    6. Widget? trailing,
    7. bool initiallyExpanded,
    8. bool maintainState,
    9. EdgeInsets? tilePadding,
    10. CrossAxisAlignment? expandedCrossAxisAlignment,
    11. Alignment? expandedAlignment,
    12. EdgeInsets? childrenPadding,
    13. Color? backgroundColor,
    14. Color? collapsedBackgroundColor,
    15. Color? textColor,
    16. Color? collapsedTextColor,
    17. Color? iconColor,
    18. Color? collapsedIconColor,
    19. ShapeBorder? shape,
    20. ShapeBorder? collapsedShape,
    21. Clip? clipBehavior,
    22. ListTileControlAffinity? controlAffinity
    )?,
  68. TResult gridTile(
    1. Key? key,
    2. Widget? header,
    3. Widget? footer,
    4. Widget child
    )?,
  69. TResult defaultTabController(
    1. Key? key,
    2. int length,
    3. int initialIndex,
    4. Widget child,
    5. Duration? animationDuration
    )?,
  70. TResult defaultTextStyle(
    1. Key? key,
    2. TextStyle style,
    3. TextAlign? textAlign,
    4. bool softWrap,
    5. TextOverflow overflow,
    6. int? maxLines,
    7. TextWidthBasis textWidthBasis,
    8. TextHeightBehavior? textHeightBehavior,
    9. Widget child
    )?,
  71. TResult theme(
    1. Key? key,
    2. ThemeData data,
    3. Widget child
    )?,
  72. TResult tabBarView(
    1. Key? key,
    2. List<Widget> children,
    3. ScrollPhysics? physics,
    4. DragStartBehavior dragStartBehavior,
    5. double viewportFraction,
    6. Clip clipBehavior
    )?,
  73. TResult navigationRail(
    1. Key? key,
    2. Color? backgroundColor,
    3. bool extended,
    4. Widget? leading,
    5. Widget? trailing,
    6. List<NavigationRailDestination> destinations,
    7. int? selectedIndex,
    8. IntSelectionCallback? onDestinationSelected,
    9. double? elevation,
    10. double? groupAlignment,
    11. NavigationRailLabelType? labelType,
    12. TextStyle? unselectedLabelTextStyle,
    13. TextStyle? selectedLabelTextStyle,
    14. IconThemeData? unselectedIconTheme,
    15. IconThemeData? selectedIconTheme,
    16. double? minWidth,
    17. double? minExtendedWidth,
    18. bool? useIndicator,
    19. Color? indicatorColor,
    20. ShapeBorder? indicatorShape
    )?,
  74. TResult navigationBar(
    1. Key? key,
    2. Duration? animationDuration,
    3. int selectedIndex,
    4. List<Widget> destinations,
    5. IntSelectionCallback? onDestinationSelected,
    6. Color? backgroundColor,
    7. double? elevation,
    8. Color? shadowColor,
    9. Color? surfaceTintColor,
    10. Color? indicatorColor,
    11. ShapeBorder? indicatorShape,
    12. double? height,
    13. NavigationDestinationLabelBehavior? labelBehavior
    )?,
  75. TResult tab(
    1. Key? key,
    2. String? text,
    3. Widget? icon,
    4. EdgeInsets iconMargin,
    5. double? height,
    6. Widget? child
    )?,
  76. TResult form(
    1. Key? key,
    2. Widget child,
    3. Callback? onChanged,
    4. AutovalidateMode? autovalidateMode
    )?,
  77. TResult textRich(
    1. InlineSpan textSpan,
    2. Key? key,
    3. TextStyle? style,
    4. StrutStyle? strutStyle,
    5. TextAlign? textAlign,
    6. TextDirection? textDirection,
    7. Locale? locale,
    8. bool? softWrap,
    9. TextOverflow? overflow,
    10. double? textScaleFactor,
    11. int? maxLines,
    12. String? semanticsLabel,
    13. TextWidthBasis? textWidthBasis,
    14. TextHeightBehavior? textHeightBehavior,
    15. Color? selectionColor
    )?,
  78. TResult selectableText(
    1. String data,
    2. Key? key,
    3. TextStyle? style,
    4. StrutStyle? strutStyle,
    5. TextAlign? textAlign,
    6. TextDirection? textDirection,
    7. double? textScaleFactor,
    8. bool showCursor,
    9. bool autofocus,
    10. int? minLines,
    11. int? maxLines,
    12. double cursorWidth,
    13. double? cursorHeight,
    14. Radius? cursorRadius,
    15. Color? cursorColor,
    16. BoxHeightStyle selectionHeightStyle,
    17. BoxWidthStyle selectionWidthStyle,
    18. DragStartBehavior dragStartBehavior,
    19. bool enableInteractiveSelection,
    20. Callback? onTap,
    21. ScrollPhysics? scrollPhysics,
    22. String? semanticsLabel,
    23. TextHeightBehavior? textHeightBehavior,
    24. TextWidthBasis? textWidthBasis
    )?,
  79. TResult selectableTextRich(
    1. TextSpan textSpan,
    2. Key? key,
    3. TextStyle? style,
    4. StrutStyle? strutStyle,
    5. TextAlign? textAlign,
    6. TextDirection? textDirection,
    7. double? textScaleFactor,
    8. bool showCursor,
    9. bool autofocus,
    10. int? minLines,
    11. int? maxLines,
    12. double cursorWidth,
    13. double? cursorHeight,
    14. Radius? cursorRadius,
    15. Color? cursorColor,
    16. BoxHeightStyle selectionHeightStyle,
    17. BoxWidthStyle selectionWidthStyle,
    18. DragStartBehavior dragStartBehavior,
    19. bool enableInteractiveSelection,
    20. Callback? onTap,
    21. ScrollPhysics? scrollPhysics,
    22. String? semanticsLabel,
    23. TextHeightBehavior? textHeightBehavior,
    24. TextWidthBasis? textWidthBasis
    )?,
  80. TResult inkWell(
    1. Key? key,
    2. Widget? child,
    3. Callback? onTap,
    4. Callback? onDoubleTap,
    5. Callback? onLongPress,
    6. Callback? onTapCancel,
    7. BoolSelectionCallback? onHighlightChanged,
    8. BoolSelectionCallback? onHover,
    9. MouseCursor? mouseCursor,
    10. Color? focusColor,
    11. Color? hoverColor,
    12. Color? highlightColor,
    13. MaterialStateProperty? overlayColor,
    14. Color? splashColor,
    15. double? radius,
    16. BorderRadius? borderRadius,
    17. ShapeBorder? customBorder,
    18. bool? enableFeedback,
    19. bool excludeFromSemantics,
    20. bool canRequestFocus,
    21. BoolSelectionCallback? onFocusChange,
    22. bool autofocus
    )?,
  81. TResult gestureDetector(
    1. Key? key,
    2. Widget? child,
    3. Callback? onTap,
    4. Callback? onTapCancel,
    5. Callback? onSecondaryTap,
    6. Callback? onSecondaryTapCancel,
    7. Callback? onTertiaryTapCancel,
    8. Callback? onDoubleTap,
    9. Callback? onDoubleTapCancel,
    10. Callback? onLongPressCancel,
    11. Callback? onLongPress,
    12. Callback? onLongPressUp,
    13. Callback? onSecondaryLongPressCancel,
    14. Callback? onSecondaryLongPress,
    15. Callback? onSecondaryLongPressUp,
    16. Callback? onTertiaryLongPressCancel,
    17. Callback? onTertiaryLongPress,
    18. Callback? onTertiaryLongPressUp,
    19. Callback? onVerticalDragCancel,
    20. Callback? onHorizontalDragCancel,
    21. Callback? onPanCancel,
    22. HitTestBehavior? behavior,
    23. bool excludeFromSemantics,
    24. DragStartBehavior dragStartBehavior,
    25. Set<PointerDeviceKind>? supportedDevices
    )?,
  82. TResult textFormField(
    1. Key? key,
    2. String? initialValue,
    3. FormStringField? field,
    4. InputDecoration? decoration,
    5. TextInputType? keyboardType,
    6. TextCapitalization textCapitalization,
    7. TextInputAction? textInputAction,
    8. TextStyle? style,
    9. StrutStyle? strutStyle,
    10. TextDirection? textDirection,
    11. TextAlign textAlign,
    12. TextAlignVertical? textAlignVertical,
    13. bool autofocus,
    14. bool readOnly,
    15. bool? showCursor,
    16. String obscuringCharacter,
    17. bool obscureText,
    18. bool autocorrect,
    19. SmartDashesType? smartDashesType,
    20. SmartQuotesType? smartQuotesType,
    21. bool enableSuggestions,
    22. MaxLengthEnforcement? maxLengthEnforcement,
    23. int? maxLines,
    24. int? minLines,
    25. bool expands,
    26. int? maxLength,
    27. Callback? onTap,
    28. Map<String, String>? validatorMessages,
    29. Callback? onEditingComplete,
    30. List<TextInputFormatter>? inputFormatters,
    31. bool? enabled,
    32. double cursorWidth,
    33. double? cursorHeight,
    34. Radius? cursorRadius,
    35. Color? cursorColor,
    36. Brightness? keyboardAppearance,
    37. EdgeInsets scrollPadding,
    38. bool? enableInteractiveSelection,
    39. ScrollPhysics? scrollPhysics,
    40. Iterable<String>? autofillHints,
    41. AutovalidateMode? autovalidateMode,
    42. String? restorationId,
    43. bool enableIMEPersonalizedLearning,
    44. MouseCursor? mouseCursor
    )?,
  83. TResult materialSwitch(
    1. Key? key,
    2. bool value,
    3. FormBoolField? field,
    4. Color? activeColor,
    5. Color? activeTrackColor,
    6. Color? inactiveThumbColor,
    7. Color? inactiveTrackColor,
    8. ImageProvider? activeThumbImage,
    9. ImageProvider? inactiveThumbImage,
    10. MaterialStateProperty? thumbColor,
    11. MaterialStateProperty? trackColor,
    12. MaterialTapTargetSize? materialTapTargetSize,
    13. DragStartBehavior dragStartBehavior,
    14. MouseCursor? mouseCursor,
    15. Color? focusColor,
    16. Color? hoverColor,
    17. MaterialStateProperty? overlayColor,
    18. double? splashRadius,
    19. BoolSelectionCallback? onFocusChange,
    20. bool autofocus
    )?,
  84. TResult inputDatePickerFormField(
    1. Key? key,
    2. DateTime? initialDate,
    3. DateTime firstDate,
    4. DateTime lastDate,
    5. FormDateTimeField? field,
    6. String? errorFormatText,
    7. String? errorInvalidText,
    8. String? fieldHintText,
    9. String? fieldLabelText,
    10. TextInputType? keyboardType,
    11. bool autofocus
    )?,
  85. TResult dropdownButtonFormField(
    1. Key? key,
    2. FormStringField? field,
    3. List<DropdownMenuItem> items,
    4. String? value,
    5. Widget? hint,
    6. Widget? disabledHint,
    7. Callback? onTap,
    8. int elevation,
    9. TextStyle? style,
    10. Widget? icon,
    11. Color? iconDisabledColor,
    12. Color? iconEnabledColor,
    13. double iconSize,
    14. bool isDense,
    15. bool isExpanded,
    16. double? itemHeight,
    17. Color? focusColor,
    18. bool autofocus,
    19. Color? dropdownColor,
    20. InputDecoration? decoration,
    21. Map<String, String>? validatorMessages,
    22. AutovalidateMode? autovalidateMode,
    23. double? menuMaxHeight,
    24. bool? enableFeedback,
    25. Alignment alignment,
    26. BorderRadius? borderRadius
    )?,
  86. TResult popupMenuButton(
    1. Key? key,
    2. List<PopupMenuEntry> items,
    3. String? initialValue,
    4. Callback? onOpened,
    5. FormStringField? field,
    6. Callback? onCanceled,
    7. String? tooltip,
    8. double? elevation,
    9. Color? shadowColor,
    10. Color? surfaceTintColor,
    11. EdgeInsets padding,
    12. Widget? child,
    13. double? splashRadius,
    14. Widget? icon,
    15. double? iconSize,
    16. Offset offset,
    17. bool enabled,
    18. ShapeBorder? shape,
    19. Color? color,
    20. bool? enableFeedback,
    21. BoxConstraints? constraints,
    22. PopupMenuPosition? position,
    23. Clip clipBehavior
    )?,
  87. TResult ignorePointer(
    1. Key? key,
    2. bool ignoring,
    3. bool? ignoringSemantics,
    4. Widget? child
    )?,
  88. TResult responsive(
    1. Key? key,
    2. Widget? child,
    3. Map<int, Widget> breakpoints
    )?,
  89. TResult platform(
    1. Key? key,
    2. Widget? child,
    3. Map<TargetPlatform, Widget> targets
    )?,
  90. TResult custom(
    1. Key? key,
    2. String type,
    3. Map<String, Object?>? properties
    )?,
  91. TResult network(
    1. Key? key,
    2. NetworkHttpRequest request
    )?,
  92. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function(
              String data,
              Key? key,
              TextStyle? style,
              StrutStyle? strutStyle,
              TextAlign? textAlign,
              TextDirection? textDirection,
              Locale? locale,
              bool? softWrap,
              TextOverflow? overflow,
              double? textScaleFactor,
              int? maxLines,
              String? semanticsLabel,
              TextWidthBasis? textWidthBasis,
              TextHeightBehavior? textHeightBehavior,
              Color? selectionColor)?
          text,
      TResult Function(Key? key, double? width, double? height, Widget? child)?
          sizedBox,
      TResult Function(Key? key, Widget? child)? sizedBoxExpanded,
      TResult Function(Key? key, Widget? child)? sizedBoxShrink,
      TResult Function(
              Key? key,
              Alignment? alignment,
              EdgeInsets? padding,
              Color? color,
              Decoration? decoration,
              Decoration? foregroundDecoration,
              double? width,
              double? height,
              BoxConstraints? constraints,
              EdgeInsets? margin,
              @matrixConverter Matrix4? transform,
              Alignment? transformAlignment,
              Widget? child,
              Clip clipBehavior)?
          container,
      TResult Function(Key? key, BoxConstraints constraints, Widget? child)?
          constrainedBox,
      TResult Function(
              Key? key,
              Axis direction,
              MainAxisAlignment mainAxisAlignment,
              MainAxisSize mainAxisSize,
              CrossAxisAlignment crossAxisAlignment,
              TextDirection? textDirection,
              VerticalDirection verticalDirection,
              TextBaseline? textBaseline,
              Clip clipBehavior,
              List<Widget> children)?
          flex,
      TResult Function(
              Key? key,
              Axis direction,
              WrapAlignment alignment,
              double spacing,
              WrapAlignment runAlignment,
              double runSpacing,
              WrapCrossAlignment crossAxisAlignment,
              TextDirection? textDirection,
              VerticalDirection verticalDirection,
              Clip clipBehavior,
              List<Widget> children)?
          wrap,
      TResult Function(
              Key? key,
              MainAxisAlignment mainAxisAlignment,
              MainAxisSize mainAxisSize,
              CrossAxisAlignment crossAxisAlignment,
              TextDirection? textDirection,
              VerticalDirection verticalDirection,
              TextBaseline? textBaseline,
              List<Widget> children)?
          row,
      TResult Function(
              Key? key,
              MainAxisAlignment mainAxisAlignment,
              MainAxisSize mainAxisSize,
              CrossAxisAlignment crossAxisAlignment,
              TextDirection? textDirection,
              VerticalDirection verticalDirection,
              TextBaseline? textBaseline,
              List<Widget> children)?
          column,
      TResult Function(
              Key? key,
              Alignment alignment,
              TextDirection? textDirection,
              StackFit fit,
              Clip clipBehavior,
              List<Widget> children)?
          stack,
      TResult Function(Key? key, double? left, double? top, double? right,
              double? bottom, double? width, double? height, Widget child)?
          positioned,
      TResult Function(
              Key? key,
              ImageProvider image,
              String? semanticLabel,
              bool excludeFromSemantics,
              double? width,
              double? height,
              Color? color,
              BlendMode? colorBlendMode,
              BoxFit? fit,
              Alignment alignment,
              ImageRepeat repeat,
              Rect? centerSlice,
              bool matchTextDirection,
              bool gaplessPlayback,
              bool isAntiAlias,
              FilterQuality filterQuality)?
          image,
      TResult Function(Key? key, int flex, FlexFit fit, Widget child)? flexible,
      TResult Function(Key? key, int flex, Widget child)? expanded,
      TResult Function(
              Key? key, double? widthFactor, double? heightFactor, Widget child)?
          center,
      TResult Function(Key? key, EdgeInsets padding, Widget child)? padding,
      TResult Function(Key? key, int flex)? spacer,
      TResult Function(
              Key? key,
              Widget child,
              bool? thumbVisibility,
              bool? trackVisibility,
              double? thickness,
              Radius? radius,
              bool? interactive,
              ScrollbarOrientation? scrollbarOrientation)?
          scrollBar,
      TResult Function(
              Key? key,
              Axis scrollDirection,
              bool reverse,
              EdgeInsets? padding,
              bool? primary,
              ScrollPhysics? physics,
              Widget? child,
              Clip clipBehavior,
              String? restorationId,
              ScrollViewKeyboardDismissBehavior keyboardDismissBehavior)?
          singleChildScrollView,
      TResult Function(
              Key? key,
              Axis scrollDirection,
              bool reverse,
              bool? primary,
              ScrollPhysics? physics,
              bool shrinkWrap,
              EdgeInsets? padding,
              double? itemExtent,
              Widget? prototypeItem,
              bool addAutomaticKeepAlives,
              bool addRepaintBoundaries,
              bool addSemanticIndexes,
              double? cacheExtent,
              List<Widget> children,
              int? semanticChildCount,
              String? restorationId,
              Clip clipBehavior)?
          listView,
      TResult Function(
              IconData? icon,
              Key? key,
              double? size,
              double? fill,
              double? weight,
              double? grade,
              double? opticalSize,
              Color? color,
              List<Shadow>? shadows,
              String? semanticLabel,
              TextDirection? textDirection)?
          icon,
      TResult Function(
              Key? key,
              double? iconSize,
              VisualDensity? visualDensity,
              EdgeInsets? padding,
              Alignment? alignment,
              double? splashRadius,
              Color? color,
              Color? focusColor,
              Color? hoverColor,
              Color? highlightColor,
              Color? splashColor,
              Color? disabledColor,
              Callback onPressed,
              MouseCursor? mouseCursor,
              bool autofocus,
              String? tooltip,
              bool? enableFeedback,
              BoxConstraints? constraints,
              bool? isSelected,
              Widget? selectedIcon,
              Widget icon)?
          iconButton,
      TResult Function(
              Key? key,
              PreferredSizeWidget? appBar,
              Widget? body,
              Widget? floatingActionButton,
              FloatingActionButtonLocation? floatingActionButtonLocation,
              List<Widget>? persistentFooterButtons,
              Alignment persistentFooterAlignment,
              Widget? drawer,
              Widget? endDrawer,
              Widget? bottomNavigationBar,
              Widget? bottomSheet,
              Color? backgroundColor,
              bool? resizeToAvoidBottomInset,
              bool primary,
              bool extendBody,
              bool extendBodyBehindAppBar,
              Color? drawerScrimColor,
              double? drawerEdgeDragWidth,
              bool drawerEnableOpenDragGesture,
              bool endDrawerEnableOpenDragGesture,
              String? restorationId)?
          scaffold,
      TResult Function(
              Key? key,
              Widget? child,
              String? tooltip,
              Color? foregroundColor,
              Color? backgroundColor,
              Color? focusColor,
              Color? hoverColor,
              Color? splashColor,
              double? elevation,
              double? focusElevation,
              double? hoverElevation,
              double? highlightElevation,
              double? disabledElevation,
              Callback? onPressed,
              MouseCursor? mouseCursor,
              bool mini,
              ShapeBorder? shape,
              Clip clipBehavior,
              bool autofocus,
              MaterialTapTargetSize? materialTapTargetSize,
              bool isExtended,
              bool? enableFeedback)?
          floatingActionButton,
      TResult Function(
              Key? key,
              Widget label,
              Widget? icon,
              String? tooltip,
              Color? foregroundColor,
              Color? backgroundColor,
              Color? focusColor,
              Color? hoverColor,
              Color? splashColor,
              double? elevation,
              double? focusElevation,
              double? hoverElevation,
              double? highlightElevation,
              double? disabledElevation,
              Callback? onPressed,
              MouseCursor? mouseCursor,
              ShapeBorder? shape,
              Clip clipBehavior,
              bool autofocus,
              MaterialTapTargetSize? materialTapTargetSize,
              bool isExtended,
              bool? enableFeedback)?
          floatingActionButtonExtended,
      TResult Function(
              Key? key,
              Color? color,
              Color? shadowColor,
              Color? surfaceTintColor,
              double? elevation,
              ShapeBorder? shape,
              bool borderOnForeground,
              EdgeInsets? margin,
              Clip? clipBehavior,
              Widget? child,
              bool semanticContainer)?
          card,
      TResult Function(Key? key, double? height, double? thickness,
              double? indent, double? endIndent, Color? color)?
          divider,
      TResult Function(Key? key, double? width, double? thickness, double? indent,
              double? endIndent, Color? color)?
          verticalDivider,
      TResult Function(
              Key? key,
              MaterialType type,
              double elevation,
              Color? color,
              Color? shadowColor,
              Color? surfaceTintColor,
              TextStyle? textStyle,
              BorderRadius? borderRadius,
              ShapeBorder? shape,
              bool borderOnForeground,
              Clip clipBehavior,
              Duration animationDuration,
              Widget? child)?
          material,
      TResult Function(
              Key? key,
              Callback? onPressed,
              Callback? onLongPress,
              MouseCursor? mouseCursor,
              Color? textColor,
              Color? disabledTextColor,
              Color? color,
              Color? disabledColor,
              Color? focusColor,
              Color? hoverColor,
              Color? highlightColor,
              Color? splashColor,
              Brightness? colorBrightness,
              double? elevation,
              double? focusElevation,
              double? hoverElevation,
              double? highlightElevation,
              double? disabledElevation,
              EdgeInsets? padding,
              VisualDensity? visualDensity,
              ShapeBorder? shape,
              Clip clipBehavior,
              bool autofocus,
              MaterialTapTargetSize? materialTapTargetSize,
              Duration? animationDuration,
              double? minWidth,
              double? height,
              bool enableFeedback,
              Widget? child)?
          materialButton,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool autofocus, Clip clipBehavior, Widget child)?
          outlinedButton,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?
          outlinedButtonIcon,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool autofocus, Clip clipBehavior, Widget child)?
          textButton,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?
          textButtonIcon,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool autofocus, Clip clipBehavior, Widget child)?
          filledButton,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?
          filledButtonIcon,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool autofocus, Clip clipBehavior, Widget child)?
          filledTonalButton,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?
          filledTonalButtonIcon,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool autofocus, Clip clipBehavior, Widget child)?
          elevatedButton,
      TResult Function(Key? key, Callback? onPressed, Callback? onLongPress,
              bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?
          elevatedButtonIcon,
      TResult Function(Key? key, Alignment alignment, double? widthFactor,
              double? heightFactor, Widget? child)?
          fractionallySizedBox,
      TResult Function(Key? key, BoxFit fit, Alignment alignment,
              Clip clipBehavior, Widget? child)?
          fittedBox,
      TResult Function(
              Key? key,
              Axis scrollDirection,
              bool reverse,
              bool? primary,
              ScrollPhysics? physics,
              bool shrinkWrap,
              EdgeInsets? padding,
              SliverGridDelegate gridDelegate,
              bool addAutomaticKeepAlives,
              bool addRepaintBoundaries,
              bool addSemanticIndexes,
              double? cacheExtent,
              List<Widget> children,
              int? semanticChildCount,
              Clip clipBehavior,
              ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
              String? restorationId)?
          gridView,
      TResult Function(Key? key, Color color, double strokeWidth,
              double fallbackWidth, double fallbackHeight, Widget? child)?
          placeholder,
      TResult Function(
              Key? key,
              double? value,
              Color? backgroundColor,
              Color? color,
              double strokeWidth,
              String? semanticsLabel,
              String? semanticsValue)?
          circularProgressIndicator,
      TResult Function(
              Key? key,
              double? value,
              Color? backgroundColor,
              Color? color,
              double? minHeight,
              String? semanticsLabel,
              String? semanticsValue)?
          linearProgressIndicator,
      TResult Function(
              Key? key,
              Widget? home,
              String? initialRoute,
              String title,
              Color? color,
              ThemeData? theme,
              ThemeData? darkTheme,
              ThemeData? highContrastTheme,
              ThemeData? highContrastDarkTheme,
              ThemeMode? themeMode,
              Duration themeAnimationDuration,
              Curves themeAnimationCurve,
              Locale? locale,
              Iterable<Locale> supportedLocales,
              bool debugShowMaterialGrid,
              bool showPerformanceOverlay,
              bool checkerboardRasterCacheImages,
              bool checkerboardOffscreenLayers,
              bool showSemanticsDebugger,
              bool debugShowCheckedModeBanner,
              String? restorationScopeId,
              bool useInheritedMediaQuery,
              Map<String, Widget> routes)?
          materialApp,
      TResult Function(
              Key? key,
              Clip clipBehavior,
              PanAxis panAxis,
              EdgeInsets boundaryMargin,
              bool constrained,
              double maxScale,
              double minScale,
              double interactionEndFrictionCoefficient,
              bool panEnabled,
              bool scaleEnabled,
              double scaleFactor,
              Alignment? alignment,
              Widget child)?
          interactiveViewer,
      TResult Function(
              Key? key,
              Axis scrollDirection,
              bool reverse,
              bool? primary,
              ScrollPhysics? physics,
              bool shrinkWrap,
              Key? center,
              double anchor,
              double? cacheExtent,
              List<Sliver> slivers,
              int? semanticChildCount,
              ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
              String? restorationId,
              Clip clipBehavior)?
          customScrollView,
      TResult Function(
              Key? key,
              Axis scrollDirection,
              bool reverse,
              bool? primary,
              ScrollPhysics? physics,
              bool shrinkWrap,
              EdgeInsets? padding,
              double? itemExtent,
              Widget? prototypeItem,
              SliverChildDelegate childrenDelegate,
              double? cacheExtent,
              int? semanticChildCount,
              ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
              String? restorationId,
              Clip clipBehavior)?
          listViewCustom,
      TResult Function(Key? key, bool left, bool top, bool right, bool bottom,
              EdgeInsets minimum, bool maintainBottomViewPadding, Widget child)?
          safeArea,
      TResult Function(Key? key, bool offstage, Widget? child)? offstage,
      TResult Function(Key? key, double opacity, bool alwaysIncludeSemantics,
              Widget? child)?
          opacity,
      TResult Function(
              Key? key,
              Axis scrollDirection,
              bool reverse,
              ScrollPhysics? physics,
              List<Sliver> slivers,
              List<Sliver>? innerBoxIsScrolledSlivers,
              Widget body,
              bool floatHeaderSlivers,
              Clip clipBehavior,
              String? restorationId)?
          nestedScrollView,
      TResult Function(Key? key, double aspectRatio, Widget? child)? aspectRatio,
      TResult Function(
              Key? key,
              Widget? avatar,
              Widget label,
              TextStyle? labelStyle,
              EdgeInsets? labelPadding,
              Widget? deleteIcon,
              Callback? onDeleted,
              Color? deleteIconColor,
              String? deleteButtonTooltipMessage,
              BorderSide? side,
              ShapeBorder? shape,
              Clip clipBehavior,
              bool autofocus,
              Color? backgroundColor,
              EdgeInsets? padding,
              VisualDensity? visualDensity,
              MaterialTapTargetSize? materialTapTargetSize,
              double? elevation,
              Color? shadowColor,
              Color? surfaceTintColor)?
          chip,
      TResult Function(
              Key? key,
              Offset additionalFocalPointOffset,
              BorderRadius borderRadius,
              Color filmColor,
              List<BoxShadow> shadows,
              Size size)?
          magnifier,
      TResult Function(
              Key? key,
              List<TableRow> children,
              Map<int, TableColumnWidth>? columnWidths,
              TableColumnWidth defaultColumnWidth,
              TextDirection? textDirection,
              TableBorder? border,
              TableCellVerticalAlignment defaultVerticalAlignment,
              TextBaseline? textBaseline)?
          table,
      TResult Function(
              Key? key,
              List<DataColumn> columns,
              int? sortColumnIndex,
              bool sortAscending,
              Callback? onSelectAll,
              Callback? onDeselectAll,
              Decoration? decoration,
              MaterialStateProperty? dataRowColor,
              double? dataRowHeight,
              TextStyle? dataTextStyle,
              MaterialStateProperty? headingRowColor,
              double? headingRowHeight,
              TextStyle? headingTextStyle,
              double? horizontalMargin,
              double? columnSpacing,
              bool showCheckboxColumn,
              bool showBottomBorder,
              double? dividerThickness,
              List<DataRow> rows,
              double? checkboxHorizontalMargin,
              TableBorder? border,
              Clip clipBehavior)?
          dataTable,
      TResult Function(Key? key, Widget? child)? repaintBoundary,
      TResult Function(Key? key, Clip clipBehavior, Widget? child)? clipRect,
      TResult Function(Key? key, BorderRadius? borderRadius, Clip clipBehavior,
              Widget? child)?
          clipRRect,
      TResult Function(Key? key, Clip clipBehavior, Widget? child)? clipOval,
      TResult Function(
              Key? key,
              bool? value,
              bool tristate,
              FormBoolField? field,
              MouseCursor? mouseCursor,
              Color? activeColor,
              MaterialStateProperty? fillColor,
              Color? checkColor,
              Color? focusColor,
              Color? hoverColor,
              MaterialStateProperty? overlayColor,
              double? splashRadius,
              MaterialTapTargetSize? materialTapTargetSize,
              VisualDensity? visualDensity,
              bool autofocus,
              ShapeBorder? shape,
              BorderSide? side,
              bool isError)?
          checkbox,
      TResult Function(
              Key? key,
              Widget? leading,
              Widget? title,
              Widget? subtitle,
              Widget? trailing,
              bool isThreeLine,
              bool? dense,
              VisualDensity? visualDensity,
              ShapeBorder? shape,
              Color? selectedColor,
              Color? iconColor,
              Color? textColor,
              EdgeInsets? contentPadding,
              bool enabled,
              Callback? onTap,
              Callback? onLongPress,
              MouseCursor? mouseCursor,
              bool selected,
              Color? focusColor,
              Color? hoverColor,
              Color? splashColor,
              bool autofocus,
              Color? tileColor,
              Color? selectedTileColor,
              bool? enableFeedback,
              double? horizontalTitleGap,
              double? minVerticalPadding,
              double? minLeadingWidth)?
          listTile,
      TResult Function(
              Key? key,
              Widget? leading,
              Widget title,
              Widget? subtitle,
              List<Widget> children,
              Widget? trailing,
              bool initiallyExpanded,
              bool maintainState,
              EdgeInsets? tilePadding,
              CrossAxisAlignment? expandedCrossAxisAlignment,
              Alignment? expandedAlignment,
              EdgeInsets? childrenPadding,
              Color? backgroundColor,
              Color? collapsedBackgroundColor,
              Color? textColor,
              Color? collapsedTextColor,
              Color? iconColor,
              Color? collapsedIconColor,
              ShapeBorder? shape,
              ShapeBorder? collapsedShape,
              Clip? clipBehavior,
              ListTileControlAffinity? controlAffinity)?
          expansionTile,
      TResult Function(Key? key, Widget? header, Widget? footer, Widget child)?
          gridTile,
      TResult Function(Key? key, int length, int initialIndex, Widget child,
              Duration? animationDuration)?
          defaultTabController,
      TResult Function(
              Key? key,
              TextStyle style,
              TextAlign? textAlign,
              bool softWrap,
              TextOverflow overflow,
              int? maxLines,
              TextWidthBasis textWidthBasis,
              TextHeightBehavior? textHeightBehavior,
              Widget child)?
          defaultTextStyle,
      TResult Function(Key? key, ThemeData data, Widget child)? theme,
      TResult Function(
              Key? key,
              List<Widget> children,
              ScrollPhysics? physics,
              DragStartBehavior dragStartBehavior,
              double viewportFraction,
              Clip clipBehavior)?
          tabBarView,
      TResult Function(
              Key? key,
              Color? backgroundColor,
              bool extended,
              Widget? leading,
              Widget? trailing,
              List<NavigationRailDestination> destinations,
              int? selectedIndex,
              IntSelectionCallback? onDestinationSelected,
              double? elevation,
              double? groupAlignment,
              NavigationRailLabelType? labelType,
              TextStyle? unselectedLabelTextStyle,
              TextStyle? selectedLabelTextStyle,
              IconThemeData? unselectedIconTheme,
              IconThemeData? selectedIconTheme,
              double? minWidth,
              double? minExtendedWidth,
              bool? useIndicator,
              Color? indicatorColor,
              ShapeBorder? indicatorShape)?
          navigationRail,
      TResult Function(
              Key? key,
              Duration? animationDuration,
              int selectedIndex,
              List<Widget> destinations,
              IntSelectionCallback? onDestinationSelected,
              Color? backgroundColor,
              double? elevation,
              Color? shadowColor,
              Color? surfaceTintColor,
              Color? indicatorColor,
              ShapeBorder? indicatorShape,
              double? height,
              NavigationDestinationLabelBehavior? labelBehavior)?
          navigationBar,
      TResult Function(Key? key, String? text, Widget? icon,
              EdgeInsets iconMargin, double? height, Widget? child)?
          tab,
      TResult Function(Key? key, Widget child, Callback? onChanged,
              AutovalidateMode? autovalidateMode)?
          form,
      TResult Function(
              InlineSpan textSpan,
              Key? key,
              TextStyle? style,
              StrutStyle? strutStyle,
              TextAlign? textAlign,
              TextDirection? textDirection,
              Locale? locale,
              bool? softWrap,
              TextOverflow? overflow,
              double? textScaleFactor,
              int? maxLines,
              String? semanticsLabel,
              TextWidthBasis? textWidthBasis,
              TextHeightBehavior? textHeightBehavior,
              Color? selectionColor)?
          textRich,
      TResult Function(
              String data,
              Key? key,
              TextStyle? style,
              StrutStyle? strutStyle,
              TextAlign? textAlign,
              TextDirection? textDirection,
              double? textScaleFactor,
              bool showCursor,
              bool autofocus,
              int? minLines,
              int? maxLines,
              double cursorWidth,
              double? cursorHeight,
              Radius? cursorRadius,
              Color? cursorColor,
              BoxHeightStyle selectionHeightStyle,
              BoxWidthStyle selectionWidthStyle,
              DragStartBehavior dragStartBehavior,
              bool enableInteractiveSelection,
              Callback? onTap,
              ScrollPhysics? scrollPhysics,
              String? semanticsLabel,
              TextHeightBehavior? textHeightBehavior,
              TextWidthBasis? textWidthBasis)?
          selectableText,
      TResult Function(
              TextSpan textSpan,
              Key? key,
              TextStyle? style,
              StrutStyle? strutStyle,
              TextAlign? textAlign,
              TextDirection? textDirection,
              double? textScaleFactor,
              bool showCursor,
              bool autofocus,
              int? minLines,
              int? maxLines,
              double cursorWidth,
              double? cursorHeight,
              Radius? cursorRadius,
              Color? cursorColor,
              BoxHeightStyle selectionHeightStyle,
              BoxWidthStyle selectionWidthStyle,
              DragStartBehavior dragStartBehavior,
              bool enableInteractiveSelection,
              Callback? onTap,
              ScrollPhysics? scrollPhysics,
              String? semanticsLabel,
              TextHeightBehavior? textHeightBehavior,
              TextWidthBasis? textWidthBasis)?
          selectableTextRich,
      TResult Function(
              Key? key,
              Widget? child,
              Callback? onTap,
              Callback? onDoubleTap,
              Callback? onLongPress,
              Callback? onTapCancel,
              BoolSelectionCallback? onHighlightChanged,
              BoolSelectionCallback? onHover,
              MouseCursor? mouseCursor,
              Color? focusColor,
              Color? hoverColor,
              Color? highlightColor,
              MaterialStateProperty? overlayColor,
              Color? splashColor,
              double? radius,
              BorderRadius? borderRadius,
              ShapeBorder? customBorder,
              bool? enableFeedback,
              bool excludeFromSemantics,
              bool canRequestFocus,
              BoolSelectionCallback? onFocusChange,
              bool autofocus)?
          inkWell,
      TResult Function(
              Key? key,
              Widget? child,
              Callback? onTap,
              Callback? onTapCancel,
              Callback? onSecondaryTap,
              Callback? onSecondaryTapCancel,
              Callback? onTertiaryTapCancel,
              Callback? onDoubleTap,
              Callback? onDoubleTapCancel,
              Callback? onLongPressCancel,
              Callback? onLongPress,
              Callback? onLongPressUp,
              Callback? onSecondaryLongPressCancel,
              Callback? onSecondaryLongPress,
              Callback? onSecondaryLongPressUp,
              Callback? onTertiaryLongPressCancel,
              Callback? onTertiaryLongPress,
              Callback? onTertiaryLongPressUp,
              Callback? onVerticalDragCancel,
              Callback? onHorizontalDragCancel,
              Callback? onPanCancel,
              HitTestBehavior? behavior,
              bool excludeFromSemantics,
              DragStartBehavior dragStartBehavior,
              Set<PointerDeviceKind>? supportedDevices)?
          gestureDetector,
      TResult Function(
              Key? key,
              String? initialValue,
              FormStringField? field,
              InputDecoration? decoration,
              TextInputType? keyboardType,
              TextCapitalization textCapitalization,
              TextInputAction? textInputAction,
              TextStyle? style,
              StrutStyle? strutStyle,
              TextDirection? textDirection,
              TextAlign textAlign,
              TextAlignVertical? textAlignVertical,
              bool autofocus,
              bool readOnly,
              bool? showCursor,
              String obscuringCharacter,
              bool obscureText,
              bool autocorrect,
              SmartDashesType? smartDashesType,
              SmartQuotesType? smartQuotesType,
              bool enableSuggestions,
              MaxLengthEnforcement? maxLengthEnforcement,
              int? maxLines,
              int? minLines,
              bool expands,
              int? maxLength,
              Callback? onTap,
              Map<String, String>? validatorMessages,
              Callback? onEditingComplete,
              List<TextInputFormatter>? inputFormatters,
              bool? enabled,
              double cursorWidth,
              double? cursorHeight,
              Radius? cursorRadius,
              Color? cursorColor,
              Brightness? keyboardAppearance,
              EdgeInsets scrollPadding,
              bool? enableInteractiveSelection,
              ScrollPhysics? scrollPhysics,
              Iterable<String>? autofillHints,
              AutovalidateMode? autovalidateMode,
              String? restorationId,
              bool enableIMEPersonalizedLearning,
              MouseCursor? mouseCursor)?
          textFormField,
      TResult Function(
              Key? key,
              bool value,
              FormBoolField? field,
              Color? activeColor,
              Color? activeTrackColor,
              Color? inactiveThumbColor,
              Color? inactiveTrackColor,
              ImageProvider? activeThumbImage,
              ImageProvider? inactiveThumbImage,
              MaterialStateProperty? thumbColor,
              MaterialStateProperty? trackColor,
              MaterialTapTargetSize? materialTapTargetSize,
              DragStartBehavior dragStartBehavior,
              MouseCursor? mouseCursor,
              Color? focusColor,
              Color? hoverColor,
              MaterialStateProperty? overlayColor,
              double? splashRadius,
              BoolSelectionCallback? onFocusChange,
              bool autofocus)?
          materialSwitch,
      TResult Function(
              Key? key,
              DateTime? initialDate,
              DateTime firstDate,
              DateTime lastDate,
              FormDateTimeField? field,
              String? errorFormatText,
              String? errorInvalidText,
              String? fieldHintText,
              String? fieldLabelText,
              TextInputType? keyboardType,
              bool autofocus)?
          inputDatePickerFormField,
      TResult Function(
              Key? key,
              FormStringField? field,
              List<DropdownMenuItem> items,
              String? value,
              Widget? hint,
              Widget? disabledHint,
              Callback? onTap,
              int elevation,
              TextStyle? style,
              Widget? icon,
              Color? iconDisabledColor,
              Color? iconEnabledColor,
              double iconSize,
              bool isDense,
              bool isExpanded,
              double? itemHeight,
              Color? focusColor,
              bool autofocus,
              Color? dropdownColor,
              InputDecoration? decoration,
              Map<String, String>? validatorMessages,
              AutovalidateMode? autovalidateMode,
              double? menuMaxHeight,
              bool? enableFeedback,
              Alignment alignment,
              BorderRadius? borderRadius)?
          dropdownButtonFormField,
      TResult Function(
              Key? key,
              List<PopupMenuEntry> items,
              String? initialValue,
              Callback? onOpened,
              FormStringField? field,
              Callback? onCanceled,
              String? tooltip,
              double? elevation,
              Color? shadowColor,
              Color? surfaceTintColor,
              EdgeInsets padding,
              Widget? child,
              double? splashRadius,
              Widget? icon,
              double? iconSize,
              Offset offset,
              bool enabled,
              ShapeBorder? shape,
              Color? color,
              bool? enableFeedback,
              BoxConstraints? constraints,
              PopupMenuPosition? position,
              Clip clipBehavior)?
          popupMenuButton,
      TResult Function(
              Key? key, bool ignoring, bool? ignoringSemantics, Widget? child)?
          ignorePointer,
      TResult Function(Key? key, Widget? child, Map<int, Widget> breakpoints)?
          responsive,
      TResult Function(
              Key? key, Widget? child, Map<TargetPlatform, Widget> targets)?
          platform,
      TResult Function(Key? key, String type, Map<String, Object?>? properties)?
          custom,
      TResult Function(Key? key, NetworkHttpRequest request)? network,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;