Widget class Null safety

Implementers
Annotations
  • @freezed

Constructors

Widget.aspectRatio({Key? key, required double aspectRatio, Widget? child})
const
factory
Widget.card({Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, @Default(true) bool borderOnForeground, EdgeInsets? margin, Clip? clipBehavior, Widget? child, @Default(true) bool semanticContainer})
const
factory
Widget.center({Key? key, double? widthFactor, double? heightFactor, required Widget child})
const
factory
Widget.checkbox({Key? key, required bool? value, @Default(false) bool tristate, FormBoolField? field, MouseCursor? mouseCursor, Color? activeColor, MaterialStateProperty? fillColor, Color? checkColor, Color? focusColor, Color? hoverColor, MaterialStateProperty? overlayColor, double? splashRadius, MaterialTapTargetSize? materialTapTargetSize, VisualDensity? visualDensity, @Default(false) bool autofocus, ShapeBorder? shape, BorderSide? side, @Default(false) bool isError})
const
factory
Widget.chip({Key? key, Widget? avatar, required Widget label, TextStyle? labelStyle, EdgeInsets? labelPadding, Widget? deleteIcon, Callback? onDeleted, Color? deleteIconColor, String? deleteButtonTooltipMessage, BorderSide? side, ShapeBorder? shape, @Default(Clip.none) Clip clipBehavior, @Default(false) bool autofocus, Color? backgroundColor, EdgeInsets? padding, VisualDensity? visualDensity, MaterialTapTargetSize? materialTapTargetSize, double? elevation, Color? shadowColor, Color? surfaceTintColor})
const
factory
Widget.circularProgressIndicator({Key? key, double? value, Color? backgroundColor, Color? color, @Default(4.0) double strokeWidth, String? semanticsLabel, String? semanticsValue})
const
factory
Widget.clipOval({Key? key, @Default(Clip.antiAlias) Clip clipBehavior, Widget? child})
const
factory
Widget.clipRect({Key? key, @Default(Clip.hardEdge) Clip clipBehavior, Widget? child})
const
factory
Widget.clipRRect({Key? key, @Default(BorderRadius.zero) BorderRadius? borderRadius, @Default(Clip.antiAlias) Clip clipBehavior, Widget? child})
const
factory
Widget.column({Key? key, @Default(MainAxisAlignment.start) MainAxisAlignment mainAxisAlignment, @Default(MainAxisSize.max) MainAxisSize mainAxisSize, @Default(CrossAxisAlignment.center) CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, @Default(VerticalDirection.down) VerticalDirection verticalDirection, TextBaseline? textBaseline, @Default([]) List<Widget> children})
const
factory
Widget.constrainedBox({Key? key, required BoxConstraints constraints, Widget? child})
const
factory
Widget.container({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, @Default(Clip.none) Clip clipBehavior})
const
factory
Widget.custom({Key? key, required String type, Map<String, Object?>? properties})
const
factory
Widget.customScrollView({Key? key, @Default(Axis.vertical) Axis scrollDirection, @Default(false) bool reverse, bool? primary, ScrollPhysics? physics, @Default(false) bool shrinkWrap, Key? center, @Default(0.0) double anchor, double? cacheExtent, @Default([]) List<Sliver> slivers, int? semanticChildCount, @Default(ScrollViewKeyboardDismissBehavior.manual) ScrollViewKeyboardDismissBehavior keyboardDismissBehavior, String? restorationId, @Default(Clip.hardEdge) Clip clipBehavior})
const
factory
Widget.dataTable({Key? key, required List<DataColumn> columns, int? sortColumnIndex, @Default(true) bool sortAscending, Callback? onSelectAll, Callback? onDeselectAll, Decoration? decoration, MaterialStateProperty? dataRowColor, double? dataRowHeight, TextStyle? dataTextStyle, MaterialStateProperty? headingRowColor, double? headingRowHeight, TextStyle? headingTextStyle, double? horizontalMargin, double? columnSpacing, @Default(true) bool showCheckboxColumn, @Default(false) bool showBottomBorder, double? dividerThickness, required List<DataRow> rows, double? checkboxHorizontalMargin, TableBorder? border, @Default(Clip.none) Clip clipBehavior})
const
factory
Widget.defaultTabController({Key? key, required int length, @Default(0) int initialIndex, required Widget child, Duration? animationDuration})
const
factory
Widget.defaultTextStyle({Key? key, required TextStyle style, TextAlign? textAlign, @Default(true) bool softWrap, @Default(TextOverflow.clip) TextOverflow overflow, int? maxLines, @Default(TextWidthBasis.parent) TextWidthBasis textWidthBasis, TextHeightBehavior? textHeightBehavior, required Widget child})
const
factory
Widget.divider({Key? key, double? height, double? thickness, double? indent, double? endIndent, Color? color})
const
factory
Widget.dropdownButtonFormField({Key? key, FormStringField? field, required List<DropdownMenuItem> items, String? value, Widget? hint, Widget? disabledHint, Callback? onTap, @Default(8) int elevation, TextStyle? style, Widget? icon, Color? iconDisabledColor, Color? iconEnabledColor, @Default(24.0) double iconSize, @Default(true) bool isDense, @Default(false) bool isExpanded, double? itemHeight, Color? focusColor, @Default(false) bool autofocus, Color? dropdownColor, InputDecoration? decoration, Map<String, String>? validatorMessages, AutovalidateMode? autovalidateMode, double? menuMaxHeight, bool? enableFeedback, @Default(Alignment.centerLeft) Alignment alignment, BorderRadius? borderRadius})
const
factory
Widget.elevatedButton({Key? key, required Callback? onPressed, Callback? onLongPress, @Default(false) bool autofocus, @Default(Clip.none) Clip clipBehavior, required Widget child})
const
factory
Widget.elevatedButtonIcon({Key? key, required Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, required Widget icon, required Widget label})
const
factory
Widget.expanded({Key? key, @Default(1) int flex, required Widget child})
const
factory
Widget.expansionTile({Key? key, Widget? leading, required Widget title, Widget? subtitle, @Default([]) List<Widget> children, Widget? trailing, @Default(false) bool initiallyExpanded, @Default(false) 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})
const
factory
Widget.filledButton({Key? key, required Callback? onPressed, Callback? onLongPress, @Default(false) bool autofocus, @Default(Clip.none) Clip clipBehavior, required Widget child})
const
factory
Widget.filledButtonIcon({Key? key, required Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, required Widget icon, required Widget label})
const
factory
Widget.filledTonalButton({Key? key, required Callback? onPressed, Callback? onLongPress, @Default(false) bool autofocus, @Default(Clip.none) Clip clipBehavior, required Widget child})
const
factory
Widget.filledTonalButtonIcon({Key? key, required Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, required Widget icon, required Widget label})
const
factory
Widget.fittedBox({Key? key, @Default(BoxFit.contain) BoxFit fit, @Default(Alignment.center) Alignment alignment, @Default(Clip.none) Clip clipBehavior, Widget? child})
const
factory
Widget.flex({Key? key, required Axis direction, @Default(MainAxisAlignment.start) MainAxisAlignment mainAxisAlignment, @Default(MainAxisSize.max) MainAxisSize mainAxisSize, @Default(CrossAxisAlignment.center) CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, @Default(VerticalDirection.down) VerticalDirection verticalDirection, TextBaseline? textBaseline, @Default(Clip.none) Clip clipBehavior, @Default([]) List<Widget> children})
const
factory
Widget.flexible({Key? key, @Default(1) int flex, @Default(FlexFit.loose) FlexFit fit, required Widget child})
const
factory
Widget.floatingActionButton({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, required Callback? onPressed, MouseCursor? mouseCursor, @Default(false) bool mini, ShapeBorder? shape, @Default(Clip.none) Clip clipBehavior, @Default(false) bool autofocus, MaterialTapTargetSize? materialTapTargetSize, @Default(false) bool isExtended, bool? enableFeedback})
const
factory
Widget.floatingActionButtonExtended({Key? key, required 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, required Callback? onPressed, MouseCursor? mouseCursor, ShapeBorder? shape, @Default(Clip.none) Clip clipBehavior, @Default(false) bool autofocus, MaterialTapTargetSize? materialTapTargetSize, @Default(true) bool isExtended, bool? enableFeedback})
const
factory
Widget.form({Key? key, required Widget child, Callback? onChanged, AutovalidateMode? autovalidateMode})
const
factory
Widget.fractionallySizedBox({Key? key, @Default(Alignment.center) Alignment alignment, double? widthFactor, double? heightFactor, Widget? child})
const
factory
Widget.fromJson(Map<String, Object?> json)
factory
Widget.gestureDetector({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, @Default(false) bool excludeFromSemantics, @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior, Set<PointerDeviceKind>? supportedDevices})
const
factory
Widget.gridTile({Key? key, Widget? header, Widget? footer, required Widget child})
const
factory
Widget.gridView({Key? key, @Default(Axis.vertical) Axis scrollDirection, @Default(false) bool reverse, bool? primary, ScrollPhysics? physics, @Default(false) bool shrinkWrap, EdgeInsets? padding, required SliverGridDelegate gridDelegate, @Default(true) bool addAutomaticKeepAlives, @Default(true) bool addRepaintBoundaries, @Default(true) bool addSemanticIndexes, double? cacheExtent, @Default([]) List<Widget> children, int? semanticChildCount, @Default(Clip.hardEdge) Clip clipBehavior, @Default(ScrollViewKeyboardDismissBehavior.manual) ScrollViewKeyboardDismissBehavior keyboardDismissBehavior, String? restorationId})
const
factory
Widget.icon(IconData? icon, {Key? key, double? size, double? fill, double? weight, double? grade, double? opticalSize, Color? color, List<Shadow>? shadows, String? semanticLabel, TextDirection? textDirection})
const
factory
Widget.iconButton({Key? key, double? iconSize, VisualDensity? visualDensity, EdgeInsets? padding, Alignment? alignment, double? splashRadius, Color? color, Color? focusColor, Color? hoverColor, Color? highlightColor, Color? splashColor, Color? disabledColor, required Callback onPressed, MouseCursor? mouseCursor, @Default(false) bool autofocus, String? tooltip, bool? enableFeedback, BoxConstraints? constraints, bool? isSelected, Widget? selectedIcon, required Widget icon})
const
factory
Widget.ignorePointer({Key? key, @Default(true) bool ignoring, bool? ignoringSemantics, Widget? child})
const
factory
Widget.image({Key? key, required ImageProvider image, String? semanticLabel, @Default(false) bool excludeFromSemantics, double? width, double? height, Color? color, BlendMode? colorBlendMode, BoxFit? fit, @Default(Alignment.center) Alignment alignment, @Default(ImageRepeat.noRepeat) ImageRepeat repeat, Rect? centerSlice, @Default(false) bool matchTextDirection, @Default(false) bool gaplessPlayback, @Default(false) bool isAntiAlias, @Default(FilterQuality.low) FilterQuality filterQuality})
const
factory
Widget.inkWell({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, @Default(true) bool? enableFeedback, @Default(false) bool excludeFromSemantics, @Default(true) bool canRequestFocus, BoolSelectionCallback? onFocusChange, @Default(false) bool autofocus})
const
factory
Widget.inputDatePickerFormField({Key? key, DateTime? initialDate, required DateTime firstDate, required DateTime lastDate, FormDateTimeField? field, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, TextInputType? keyboardType, @Default(false) bool autofocus})
const
factory
Widget.interactiveViewer({Key? key, @Default(Clip.hardEdge) Clip clipBehavior, @Default(PanAxis.free) PanAxis panAxis, @Default(EdgeInsets.zero) EdgeInsets boundaryMargin, @Default(true) bool constrained, @Default(2.5) double maxScale, @Default(0.8) double minScale, @Default(0.0000135) double interactionEndFrictionCoefficient, @Default(true) bool panEnabled, @Default(true) bool scaleEnabled, @Default(200.0) double scaleFactor, Alignment? alignment, required Widget child})
const
factory
Widget.linearProgressIndicator({Key? key, double? value, Color? backgroundColor, Color? color, double? minHeight, String? semanticsLabel, String? semanticsValue})
const
factory
Widget.listTile({Key? key, Widget? leading, Widget? title, Widget? subtitle, Widget? trailing, @Default(false) bool isThreeLine, bool? dense, VisualDensity? visualDensity, ShapeBorder? shape, Color? selectedColor, Color? iconColor, Color? textColor, EdgeInsets? contentPadding, @Default(true) bool enabled, Callback? onTap, Callback? onLongPress, MouseCursor? mouseCursor, @Default(false) bool selected, Color? focusColor, Color? hoverColor, Color? splashColor, @Default(false) bool autofocus, Color? tileColor, Color? selectedTileColor, bool? enableFeedback, double? horizontalTitleGap, double? minVerticalPadding, double? minLeadingWidth})
const
factory
Widget.listView({Key? key, @Default(Axis.vertical) Axis scrollDirection, @Default(false) bool reverse, bool? primary, ScrollPhysics? physics, @Default(false) bool shrinkWrap, EdgeInsets? padding, double? itemExtent, Widget? prototypeItem, @Default(true) bool addAutomaticKeepAlives, @Default(true) bool addRepaintBoundaries, @Default(true) bool addSemanticIndexes, double? cacheExtent, @Default([]) List<Widget> children, int? semanticChildCount, String? restorationId, @Default(Clip.hardEdge) Clip clipBehavior})
const
factory
Widget.listViewCustom({Key? key, @Default(Axis.vertical) Axis scrollDirection, @Default(false) bool reverse, bool? primary, ScrollPhysics? physics, @Default(false) bool shrinkWrap, EdgeInsets? padding, double? itemExtent, Widget? prototypeItem, required SliverChildDelegate childrenDelegate, double? cacheExtent, int? semanticChildCount, @Default(ScrollViewKeyboardDismissBehavior.manual) ScrollViewKeyboardDismissBehavior keyboardDismissBehavior, String? restorationId, @Default(Clip.hardEdge) Clip clipBehavior})
const
factory
Widget.magnifier({Key? key, @Default(Offset.zero) Offset additionalFocalPointOffset, @Default(BorderRadius.all(Radius.circular(40))) BorderRadius borderRadius, @Default(Color.fromARGB(8, 158, 158, 158)) Color filmColor, @Default([BoxShadow(blurRadius: 1.5, offset: Offset(0, 2), spreadRadius: 0.75, color: Color.fromARGB(25, 0, 0, 0))]) List<BoxShadow> shadows, @Default(Size(77.37, 37.9)) Size size})
const
factory
Widget.material({Key? key, @Default(MaterialType.canvas) MaterialType type, @Default(0.0) double elevation, Color? color, Color? shadowColor, Color? surfaceTintColor, TextStyle? textStyle, BorderRadius? borderRadius, ShapeBorder? shape, @Default(true) bool borderOnForeground, @Default(Clip.none) Clip clipBehavior, @Default(Duration(milliseconds: 200)) Duration animationDuration, Widget? child})
const
factory
Widget.materialApp({Key? key, Widget? home, String? initialRoute, @Default('') String title, Color? color, ThemeData? theme, ThemeData? darkTheme, ThemeData? highContrastTheme, ThemeData? highContrastDarkTheme, @Default(ThemeMode.system) ThemeMode? themeMode, @Default(Duration(milliseconds: 200)) Duration themeAnimationDuration, @Default(Curves.linear()) Curves themeAnimationCurve, Locale? locale, @Default([Locale('en', 'US')]) Iterable<Locale> supportedLocales, @Default(false) bool debugShowMaterialGrid, @Default(false) bool showPerformanceOverlay, @Default(false) bool checkerboardRasterCacheImages, @Default(false) bool checkerboardOffscreenLayers, @Default(false) bool showSemanticsDebugger, @Default(true) bool debugShowCheckedModeBanner, String? restorationScopeId, @Default(false) bool useInheritedMediaQuery, @Default({}) Map<String, Widget> routes})
const
factory
Widget.materialButton({Key? key, required 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, @Default(Clip.none) Clip clipBehavior, @Default(false) bool autofocus, MaterialTapTargetSize? materialTapTargetSize, Duration? animationDuration, double? minWidth, double? height, @Default(true) bool enableFeedback, Widget? child})
const
factory
Widget.materialSwitch({Key? key, required bool value, FormBoolField? field, Color? activeColor, Color? activeTrackColor, Color? inactiveThumbColor, Color? inactiveTrackColor, ImageProvider? activeThumbImage, ImageProvider? inactiveThumbImage, MaterialStateProperty? thumbColor, MaterialStateProperty? trackColor, MaterialTapTargetSize? materialTapTargetSize, @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior, MouseCursor? mouseCursor, Color? focusColor, Color? hoverColor, MaterialStateProperty? overlayColor, double? splashRadius, BoolSelectionCallback? onFocusChange, @Default(false) bool autofocus})
const
factory
Widget.navigationBar({Key? key, Duration? animationDuration, @Default(0) int selectedIndex, required List<Widget> destinations, IntSelectionCallback? onDestinationSelected, Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, Color? indicatorColor, ShapeBorder? indicatorShape, double? height, NavigationDestinationLabelBehavior? labelBehavior})
const
factory
Widget.navigationRail({Key? key, Color? backgroundColor, @Default(false) bool extended, Widget? leading, Widget? trailing, required List<NavigationRailDestination> destinations, required 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})
const
factory
Widget.nestedScrollView({Key? key, @Default(Axis.vertical) Axis scrollDirection, @Default(false) bool reverse, ScrollPhysics? physics, required List<Sliver> slivers, List<Sliver>? innerBoxIsScrolledSlivers, required Widget body, @Default(false) bool floatHeaderSlivers, @Default(Clip.hardEdge) Clip clipBehavior, String? restorationId})
const
factory
Widget.network({Key? key, required NetworkHttpRequest request})
const
factory
Widget.offstage({Key? key, @Default(true) bool offstage, Widget? child})
const
factory
Widget.opacity({Key? key, required double opacity, @Default(false) bool alwaysIncludeSemantics, Widget? child})
const
factory
Widget.outlinedButton({Key? key, required Callback? onPressed, Callback? onLongPress, @Default(false) bool autofocus, @Default(Clip.none) Clip clipBehavior, required Widget child})
const
factory
Widget.outlinedButtonIcon({Key? key, required Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, required Widget icon, required Widget label})
const
factory
Widget.padding({Key? key, required EdgeInsets padding, required Widget child})
const
factory
Widget.placeholder({Key? key, @Default(Color(0xFF455A64)) Color color, @Default(2.0) double strokeWidth, @Default(400.0) double fallbackWidth, @Default(400.0) double fallbackHeight, Widget? child})
const
factory
Widget.platform({Key? key, Widget? child, @Default({}) Map<TargetPlatform, Widget> targets})
const
factory
Widget.popupMenuButton({Key? key, required List<PopupMenuEntry> items, String? initialValue, Callback? onOpened, FormStringField? field, Callback? onCanceled, String? tooltip, double? elevation, Color? shadowColor, Color? surfaceTintColor, @Default(EdgeInsets.all(8.0)) EdgeInsets padding, Widget? child, double? splashRadius, Widget? icon, double? iconSize, @Default(Offset.zero) Offset offset, @Default(true) bool enabled, ShapeBorder? shape, Color? color, bool? enableFeedback, BoxConstraints? constraints, PopupMenuPosition? position, @Default(Clip.none) Clip clipBehavior})
const
factory
Widget.positioned({Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, required Widget child})
const
factory
Widget.repaintBoundary({Key? key, Widget? child})
const
factory
Widget.responsive({Key? key, Widget? child, @Default({}) Map<int, Widget> breakpoints})
const
factory
Widget.row({Key? key, @Default(MainAxisAlignment.start) MainAxisAlignment mainAxisAlignment, @Default(MainAxisSize.max) MainAxisSize mainAxisSize, @Default(CrossAxisAlignment.center) CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, @Default(VerticalDirection.down) VerticalDirection verticalDirection, TextBaseline? textBaseline, @Default([]) List<Widget> children})
const
factory
Widget.safeArea({Key? key, @Default(true) bool left, @Default(true) bool top, @Default(true) bool right, @Default(true) bool bottom, @Default(EdgeInsets.zero) EdgeInsets minimum, @Default(false) bool maintainBottomViewPadding, required Widget child})
const
factory
Widget.scaffold({Key? key, PreferredSizeWidget? appBar, Widget? body, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, List<Widget>? persistentFooterButtons, @Default(Alignment.centerRight) Alignment persistentFooterAlignment, Widget? drawer, Widget? endDrawer, Widget? bottomNavigationBar, Widget? bottomSheet, Color? backgroundColor, bool? resizeToAvoidBottomInset, @Default(true) bool primary, @Default(false) bool extendBody, @Default(false) bool extendBodyBehindAppBar, Color? drawerScrimColor, double? drawerEdgeDragWidth, @Default(true) bool drawerEnableOpenDragGesture, @Default(true) bool endDrawerEnableOpenDragGesture, String? restorationId})
const
factory
Widget.scrollBar({Key? key, required Widget child, bool? thumbVisibility, bool? trackVisibility, double? thickness, Radius? radius, bool? interactive, ScrollbarOrientation? scrollbarOrientation})
const
factory
Widget.selectableText(String data, {Key? key, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, double? textScaleFactor, @Default(false) bool showCursor, @Default(false) bool autofocus, int? minLines, int? maxLines, @Default(2.0) double cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, @Default(BoxHeightStyle.tight) BoxHeightStyle selectionHeightStyle, @Default(BoxWidthStyle.tight) BoxWidthStyle selectionWidthStyle, @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior, @Default(true) bool enableInteractiveSelection, Callback? onTap, ScrollPhysics? scrollPhysics, String? semanticsLabel, TextHeightBehavior? textHeightBehavior, TextWidthBasis? textWidthBasis})
const
factory
Widget.selectableTextRich(TextSpan textSpan, {Key? key, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, double? textScaleFactor, @Default(false) bool showCursor, @Default(false) bool autofocus, int? minLines, int? maxLines, @Default(2.0) double cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, @Default(BoxHeightStyle.tight) BoxHeightStyle selectionHeightStyle, @Default(BoxWidthStyle.tight) BoxWidthStyle selectionWidthStyle, @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior, @Default(true) bool enableInteractiveSelection, Callback? onTap, ScrollPhysics? scrollPhysics, String? semanticsLabel, TextHeightBehavior? textHeightBehavior, TextWidthBasis? textWidthBasis})
const
factory
Widget.singleChildScrollView({Key? key, @Default(Axis.vertical) Axis scrollDirection, @Default(false) bool reverse, EdgeInsets? padding, bool? primary, ScrollPhysics? physics, Widget? child, @Default(Clip.hardEdge) Clip clipBehavior, String? restorationId, @Default(ScrollViewKeyboardDismissBehavior.manual) ScrollViewKeyboardDismissBehavior keyboardDismissBehavior})
const
factory
Widget.sizedBox({Key? key, double? width, double? height, Widget? child})
const
factory
Widget.sizedBoxExpanded({Key? key, Widget? child})
const
factory
Widget.sizedBoxShrink({Key? key, Widget? child})
const
factory
Widget.spacer({Key? key, @Default(1) int flex})
const
factory
Widget.stack({Key? key, @Default(Alignment.topLeft) Alignment alignment, TextDirection? textDirection, @Default(StackFit.loose) StackFit fit, @Default(Clip.hardEdge) Clip clipBehavior, @Default([]) List<Widget> children})
const
factory
Widget.tab({Key? key, String? text, Widget? icon, @Default(EdgeInsets.only(bottom: 10.0)) EdgeInsets iconMargin, double? height, Widget? child})
const
factory
Widget.tabBarView({Key? key, required List<Widget> children, ScrollPhysics? physics, @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior, @Default(1.0) double viewportFraction, @Default(Clip.hardEdge) Clip clipBehavior})
const
factory
Widget.table({Key? key, @Default([]) List<TableRow> children, Map<int, TableColumnWidth>? columnWidths, @Default(FlexColumnWidth()) TableColumnWidth defaultColumnWidth, TextDirection? textDirection, TableBorder? border, @Default(TableCellVerticalAlignment.top) TableCellVerticalAlignment defaultVerticalAlignment, TextBaseline? textBaseline})
const
factory
Widget.text(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})
const
factory
Widget.textButton({Key? key, required Callback? onPressed, Callback? onLongPress, @Default(false) bool autofocus, @Default(Clip.none) Clip clipBehavior, required Widget child})
const
factory
Widget.textButtonIcon({Key? key, required Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, required Widget icon, required Widget label})
const
factory
Widget.textFormField({Key? key, String? initialValue, FormStringField? field, @Default(InputDecoration()) InputDecoration? decoration, TextInputType? keyboardType, @Default(TextCapitalization.none) TextCapitalization textCapitalization, TextInputAction? textInputAction, TextStyle? style, StrutStyle? strutStyle, TextDirection? textDirection, @Default(TextAlign.start) TextAlign textAlign, TextAlignVertical? textAlignVertical, @Default(false) bool autofocus, @Default(false) bool readOnly, bool? showCursor, @Default('•') String obscuringCharacter, @Default(false) bool obscureText, @Default(true) bool autocorrect, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, @Default(true) bool enableSuggestions, MaxLengthEnforcement? maxLengthEnforcement, @Default(1) int? maxLines, int? minLines, @Default(false) bool expands, int? maxLength, Callback? onTap, Map<String, String>? validatorMessages, Callback? onEditingComplete, List<TextInputFormatter>? inputFormatters, bool? enabled, @Default(2.0) double cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, @Default(EdgeInsets.all(20.0)) EdgeInsets scrollPadding, bool? enableInteractiveSelection, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints, AutovalidateMode? autovalidateMode, String? restorationId, @Default(true) bool enableIMEPersonalizedLearning, MouseCursor? mouseCursor})
const
factory
Widget.textRich(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})
const
factory
Widget.theme({Key? key, required ThemeData data, required Widget child})
const
factory
Widget.verticalDivider({Key? key, double? width, double? thickness, double? indent, double? endIndent, Color? color})
const
factory
Widget.wrap({Key? key, @Default(Axis.horizontal) Axis direction, @Default(WrapAlignment.start) WrapAlignment alignment, @Default(0.0) double spacing, @Default(WrapAlignment.start) WrapAlignment runAlignment, @Default(0.0) double runSpacing, @Default(WrapCrossAlignment.start) WrapCrossAlignment crossAxisAlignment, TextDirection? textDirection, @Default(VerticalDirection.down) VerticalDirection verticalDirection, @Default(Clip.none) Clip clipBehavior, @Default([]) List<Widget> children})
const
factory

Properties

copyWith → $WidgetCopyWith<Widget>
@JsonKey(ignore: true), read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
key Key?
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

map<TResult extends Object?>({required TResult text(Text value), required TResult sizedBox(SizedBox value), required TResult sizedBoxExpanded(SizedBoxExpanded value), required TResult sizedBoxShrink(SizedBoxShrink value), required TResult container(Container value), required TResult constrainedBox(ConstrainedBox value), required TResult flex(Flex value), required TResult wrap(Wrap value), required TResult row(Row value), required TResult column(Column value), required TResult stack(Stack value), required TResult positioned(Positioned value), required TResult image(Image value), required TResult flexible(Flexible value), required TResult expanded(Expanded value), required TResult center(Center value), required TResult padding(Padding value), required TResult spacer(Spacer value), required TResult scrollBar(ScrollBar value), required TResult singleChildScrollView(SingleChildScrollView value), required TResult listView(ListView value), required TResult icon(Icon value), required TResult iconButton(IconButton value), required TResult scaffold(Scaffold value), required TResult floatingActionButton(FloatingActionButton value), required TResult floatingActionButtonExtended(FloatingActionButtonExtended value), required TResult card(Card value), required TResult divider(Divider value), required TResult verticalDivider(VerticalDivider value), required TResult material(Material value), required TResult materialButton(MaterialButton value), required TResult outlinedButton(OutlinedButton value), required TResult outlinedButtonIcon(OutlinedButtonIcon value), required TResult textButton(TextButton value), required TResult textButtonIcon(TextButtonIcon value), required TResult filledButton(FilledButton value), required TResult filledButtonIcon(FilledButtonIcon value), required TResult filledTonalButton(FilledTonalButton value), required TResult filledTonalButtonIcon(FilledTonalButtonIcon value), required TResult elevatedButton(ElevatedButton value), required TResult elevatedButtonIcon(ElevatedButtonIcon value), required TResult fractionallySizedBox(FractionallySizedBox value), required TResult fittedBox(FittedBox value), required TResult gridView(GridView value), required TResult placeholder(Placeholder value), required TResult circularProgressIndicator(CircularProgressIndicator value), required TResult linearProgressIndicator(LinearProgressIndicator value), required TResult materialApp(MaterialApp value), required TResult interactiveViewer(InteractiveViewer value), required TResult customScrollView(CustomScrollView value), required TResult listViewCustom(ListViewCustom value), required TResult safeArea(SafeArea value), required TResult offstage(Offstage value), required TResult opacity(Opacity value), required TResult nestedScrollView(NestedScrollView value), required TResult aspectRatio(AspectRatio value), required TResult chip(Chip value), required TResult magnifier(Magnifier value), required TResult table(Table value), required TResult dataTable(DataTable value), required TResult repaintBoundary(RepaintBoundary value), required TResult clipRect(ClipRect value), required TResult clipRRect(ClipRRect value), required TResult clipOval(ClipOval value), required TResult checkbox(Checkbox value), required TResult listTile(ListTile value), required TResult expansionTile(ExpansionTile value), required TResult gridTile(GridTile value), required TResult defaultTabController(DefaultTabController value), required TResult defaultTextStyle(DefaultTextStyle value), required TResult theme(Theme value), required TResult tabBarView(TabBarView value), required TResult navigationRail(NavigationRail value), required TResult navigationBar(NavigationBar value), required TResult tab(Tab value), required TResult form(Form value), required TResult textRich(RichText value), required TResult selectableText(SelectableText value), required TResult selectableTextRich(RichSelectableText value), required TResult inkWell(InkWell value), required TResult gestureDetector(GestureDetector value), required TResult textFormField(TextFormField value), required TResult materialSwitch(Switch value), required TResult inputDatePickerFormField(InputDatePickerFormField value), required TResult dropdownButtonFormField(DropdownButtonFormField value), required TResult popupMenuButton(PopupMenuButton value), required TResult ignorePointer(IgnorePointer value), required TResult responsive(ResponsiveWidget value), required TResult platform(PlatformWidget value), required TResult custom(CustomWidget value), required TResult network(NetworkWidget value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult? text(Text value)?, TResult? sizedBox(SizedBox value)?, TResult? sizedBoxExpanded(SizedBoxExpanded value)?, TResult? sizedBoxShrink(SizedBoxShrink value)?, TResult? container(Container value)?, TResult? constrainedBox(ConstrainedBox value)?, TResult? flex(Flex value)?, TResult? wrap(Wrap value)?, TResult? row(Row value)?, TResult? column(Column value)?, TResult? stack(Stack value)?, TResult? positioned(Positioned value)?, TResult? image(Image value)?, TResult? flexible(Flexible value)?, TResult? expanded(Expanded value)?, TResult? center(Center value)?, TResult? padding(Padding value)?, TResult? spacer(Spacer value)?, TResult? scrollBar(ScrollBar value)?, TResult? singleChildScrollView(SingleChildScrollView value)?, TResult? listView(ListView value)?, TResult? icon(Icon value)?, TResult? iconButton(IconButton value)?, TResult? scaffold(Scaffold value)?, TResult? floatingActionButton(FloatingActionButton value)?, TResult? floatingActionButtonExtended(FloatingActionButtonExtended value)?, TResult? card(Card value)?, TResult? divider(Divider value)?, TResult? verticalDivider(VerticalDivider value)?, TResult? material(Material value)?, TResult? materialButton(MaterialButton value)?, TResult? outlinedButton(OutlinedButton value)?, TResult? outlinedButtonIcon(OutlinedButtonIcon value)?, TResult? textButton(TextButton value)?, TResult? textButtonIcon(TextButtonIcon value)?, TResult? filledButton(FilledButton value)?, TResult? filledButtonIcon(FilledButtonIcon value)?, TResult? filledTonalButton(FilledTonalButton value)?, TResult? filledTonalButtonIcon(FilledTonalButtonIcon value)?, TResult? elevatedButton(ElevatedButton value)?, TResult? elevatedButtonIcon(ElevatedButtonIcon value)?, TResult? fractionallySizedBox(FractionallySizedBox value)?, TResult? fittedBox(FittedBox value)?, TResult? gridView(GridView value)?, TResult? placeholder(Placeholder value)?, TResult? circularProgressIndicator(CircularProgressIndicator value)?, TResult? linearProgressIndicator(LinearProgressIndicator value)?, TResult? materialApp(MaterialApp value)?, TResult? interactiveViewer(InteractiveViewer value)?, TResult? customScrollView(CustomScrollView value)?, TResult? listViewCustom(ListViewCustom value)?, TResult? safeArea(SafeArea value)?, TResult? offstage(Offstage value)?, TResult? opacity(Opacity value)?, TResult? nestedScrollView(NestedScrollView value)?, TResult? aspectRatio(AspectRatio value)?, TResult? chip(Chip value)?, TResult? magnifier(Magnifier value)?, TResult? table(Table value)?, TResult? dataTable(DataTable value)?, TResult? repaintBoundary(RepaintBoundary value)?, TResult? clipRect(ClipRect value)?, TResult? clipRRect(ClipRRect value)?, TResult? clipOval(ClipOval value)?, TResult? checkbox(Checkbox value)?, TResult? listTile(ListTile value)?, TResult? expansionTile(ExpansionTile value)?, TResult? gridTile(GridTile value)?, TResult? defaultTabController(DefaultTabController value)?, TResult? defaultTextStyle(DefaultTextStyle value)?, TResult? theme(Theme value)?, TResult? tabBarView(TabBarView value)?, TResult? navigationRail(NavigationRail value)?, TResult? navigationBar(NavigationBar value)?, TResult? tab(Tab value)?, TResult? form(Form value)?, TResult? textRich(RichText value)?, TResult? selectableText(SelectableText value)?, TResult? selectableTextRich(RichSelectableText value)?, TResult? inkWell(InkWell value)?, TResult? gestureDetector(GestureDetector value)?, TResult? textFormField(TextFormField value)?, TResult? materialSwitch(Switch value)?, TResult? inputDatePickerFormField(InputDatePickerFormField value)?, TResult? dropdownButtonFormField(DropdownButtonFormField value)?, TResult? popupMenuButton(PopupMenuButton value)?, TResult? ignorePointer(IgnorePointer value)?, TResult? responsive(ResponsiveWidget value)?, TResult? platform(PlatformWidget value)?, TResult? custom(CustomWidget value)?, TResult? network(NetworkWidget value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult text(Text value)?, TResult sizedBox(SizedBox value)?, TResult sizedBoxExpanded(SizedBoxExpanded value)?, TResult sizedBoxShrink(SizedBoxShrink value)?, TResult container(Container value)?, TResult constrainedBox(ConstrainedBox value)?, TResult flex(Flex value)?, TResult wrap(Wrap value)?, TResult row(Row value)?, TResult column(Column value)?, TResult stack(Stack value)?, TResult positioned(Positioned value)?, TResult image(Image value)?, TResult flexible(Flexible value)?, TResult expanded(Expanded value)?, TResult center(Center value)?, TResult padding(Padding value)?, TResult spacer(Spacer value)?, TResult scrollBar(ScrollBar value)?, TResult singleChildScrollView(SingleChildScrollView value)?, TResult listView(ListView value)?, TResult icon(Icon value)?, TResult iconButton(IconButton value)?, TResult scaffold(Scaffold value)?, TResult floatingActionButton(FloatingActionButton value)?, TResult floatingActionButtonExtended(FloatingActionButtonExtended value)?, TResult card(Card value)?, TResult divider(Divider value)?, TResult verticalDivider(VerticalDivider value)?, TResult material(Material value)?, TResult materialButton(MaterialButton value)?, TResult outlinedButton(OutlinedButton value)?, TResult outlinedButtonIcon(OutlinedButtonIcon value)?, TResult textButton(TextButton value)?, TResult textButtonIcon(TextButtonIcon value)?, TResult filledButton(FilledButton value)?, TResult filledButtonIcon(FilledButtonIcon value)?, TResult filledTonalButton(FilledTonalButton value)?, TResult filledTonalButtonIcon(FilledTonalButtonIcon value)?, TResult elevatedButton(ElevatedButton value)?, TResult elevatedButtonIcon(ElevatedButtonIcon value)?, TResult fractionallySizedBox(FractionallySizedBox value)?, TResult fittedBox(FittedBox value)?, TResult gridView(GridView value)?, TResult placeholder(Placeholder value)?, TResult circularProgressIndicator(CircularProgressIndicator value)?, TResult linearProgressIndicator(LinearProgressIndicator value)?, TResult materialApp(MaterialApp value)?, TResult interactiveViewer(InteractiveViewer value)?, TResult customScrollView(CustomScrollView value)?, TResult listViewCustom(ListViewCustom value)?, TResult safeArea(SafeArea value)?, TResult offstage(Offstage value)?, TResult opacity(Opacity value)?, TResult nestedScrollView(NestedScrollView value)?, TResult aspectRatio(AspectRatio value)?, TResult chip(Chip value)?, TResult magnifier(Magnifier value)?, TResult table(Table value)?, TResult dataTable(DataTable value)?, TResult repaintBoundary(RepaintBoundary value)?, TResult clipRect(ClipRect value)?, TResult clipRRect(ClipRRect value)?, TResult clipOval(ClipOval value)?, TResult checkbox(Checkbox value)?, TResult listTile(ListTile value)?, TResult expansionTile(ExpansionTile value)?, TResult gridTile(GridTile value)?, TResult defaultTabController(DefaultTabController value)?, TResult defaultTextStyle(DefaultTextStyle value)?, TResult theme(Theme value)?, TResult tabBarView(TabBarView value)?, TResult navigationRail(NavigationRail value)?, TResult navigationBar(NavigationBar value)?, TResult tab(Tab value)?, TResult form(Form value)?, TResult textRich(RichText value)?, TResult selectableText(SelectableText value)?, TResult selectableTextRich(RichSelectableText value)?, TResult inkWell(InkWell value)?, TResult gestureDetector(GestureDetector value)?, TResult textFormField(TextFormField value)?, TResult materialSwitch(Switch value)?, TResult inputDatePickerFormField(InputDatePickerFormField value)?, TResult dropdownButtonFormField(DropdownButtonFormField value)?, TResult popupMenuButton(PopupMenuButton value)?, TResult ignorePointer(IgnorePointer value)?, TResult responsive(ResponsiveWidget value)?, TResult platform(PlatformWidget value)?, TResult custom(CustomWidget value)?, TResult network(NetworkWidget value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult text(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)?, TResult sizedBox(Key? key, double? width, double? height, Widget? child)?, TResult sizedBoxExpanded(Key? key, Widget? child)?, TResult sizedBoxShrink(Key? key, Widget? child)?, TResult container(Key? key, Alignment? alignment, EdgeInsets? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsets? margin, Matrix4? transform, Alignment? transformAlignment, Widget? child, Clip clipBehavior)?, TResult constrainedBox(Key? key, BoxConstraints constraints, Widget? child)?, TResult flex(Key? key, Axis direction, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, Clip clipBehavior, List<Widget> children)?, TResult wrap(Key? key, Axis direction, WrapAlignment alignment, double spacing, WrapAlignment runAlignment, double runSpacing, WrapCrossAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, Clip clipBehavior, List<Widget> children)?, TResult row(Key? key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, List<Widget> children)?, TResult column(Key? key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, List<Widget> children)?, TResult stack(Key? key, Alignment alignment, TextDirection? textDirection, StackFit fit, Clip clipBehavior, List<Widget> children)?, TResult positioned(Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, Widget child)?, TResult image(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)?, TResult flexible(Key? key, int flex, FlexFit fit, Widget child)?, TResult expanded(Key? key, int flex, Widget child)?, TResult center(Key? key, double? widthFactor, double? heightFactor, Widget child)?, TResult padding(Key? key, EdgeInsets padding, Widget child)?, TResult spacer(Key? key, int flex)?, TResult scrollBar(Key? key, Widget child, bool? thumbVisibility, bool? trackVisibility, double? thickness, Radius? radius, bool? interactive, ScrollbarOrientation? scrollbarOrientation)?, TResult singleChildScrollView(Key? key, Axis scrollDirection, bool reverse, EdgeInsets? padding, bool? primary, ScrollPhysics? physics, Widget? child, Clip clipBehavior, String? restorationId, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior)?, TResult listView(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)?, TResult icon(IconData? icon, Key? key, double? size, double? fill, double? weight, double? grade, double? opticalSize, Color? color, List<Shadow>? shadows, String? semanticLabel, TextDirection? textDirection)?, TResult iconButton(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)?, TResult scaffold(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)?, TResult floatingActionButton(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)?, TResult floatingActionButtonExtended(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)?, TResult card(Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, bool borderOnForeground, EdgeInsets? margin, Clip? clipBehavior, Widget? child, bool semanticContainer)?, TResult divider(Key? key, double? height, double? thickness, double? indent, double? endIndent, Color? color)?, TResult verticalDivider(Key? key, double? width, double? thickness, double? indent, double? endIndent, Color? color)?, TResult material(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)?, TResult materialButton(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)?, TResult outlinedButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult outlinedButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult textButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult textButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult filledButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult filledButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult filledTonalButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult filledTonalButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult elevatedButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult elevatedButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult fractionallySizedBox(Key? key, Alignment alignment, double? widthFactor, double? heightFactor, Widget? child)?, TResult fittedBox(Key? key, BoxFit fit, Alignment alignment, Clip clipBehavior, Widget? child)?, TResult gridView(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)?, TResult placeholder(Key? key, Color color, double strokeWidth, double fallbackWidth, double fallbackHeight, Widget? child)?, TResult circularProgressIndicator(Key? key, double? value, Color? backgroundColor, Color? color, double strokeWidth, String? semanticsLabel, String? semanticsValue)?, TResult linearProgressIndicator(Key? key, double? value, Color? backgroundColor, Color? color, double? minHeight, String? semanticsLabel, String? semanticsValue)?, TResult materialApp(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)?, TResult interactiveViewer(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)?, TResult customScrollView(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)?, TResult listViewCustom(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)?, TResult safeArea(Key? key, bool left, bool top, bool right, bool bottom, EdgeInsets minimum, bool maintainBottomViewPadding, Widget child)?, TResult offstage(Key? key, bool offstage, Widget? child)?, TResult opacity(Key? key, double opacity, bool alwaysIncludeSemantics, Widget? child)?, TResult nestedScrollView(Key? key, Axis scrollDirection, bool reverse, ScrollPhysics? physics, List<Sliver> slivers, List<Sliver>? innerBoxIsScrolledSlivers, Widget body, bool floatHeaderSlivers, Clip clipBehavior, String? restorationId)?, TResult aspectRatio(Key? key, double aspectRatio, Widget? child)?, TResult chip(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)?, TResult magnifier(Key? key, Offset additionalFocalPointOffset, BorderRadius borderRadius, Color filmColor, List<BoxShadow> shadows, Size size)?, TResult table(Key? key, List<TableRow> children, Map<int, TableColumnWidth>? columnWidths, TableColumnWidth defaultColumnWidth, TextDirection? textDirection, TableBorder? border, TableCellVerticalAlignment defaultVerticalAlignment, TextBaseline? textBaseline)?, TResult dataTable(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)?, TResult repaintBoundary(Key? key, Widget? child)?, TResult clipRect(Key? key, Clip clipBehavior, Widget? child)?, TResult clipRRect(Key? key, BorderRadius? borderRadius, Clip clipBehavior, Widget? child)?, TResult clipOval(Key? key, Clip clipBehavior, Widget? child)?, TResult checkbox(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)?, TResult listTile(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)?, TResult expansionTile(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)?, TResult gridTile(Key? key, Widget? header, Widget? footer, Widget child)?, TResult defaultTabController(Key? key, int length, int initialIndex, Widget child, Duration? animationDuration)?, TResult defaultTextStyle(Key? key, TextStyle style, TextAlign? textAlign, bool softWrap, TextOverflow overflow, int? maxLines, TextWidthBasis textWidthBasis, TextHeightBehavior? textHeightBehavior, Widget child)?, TResult theme(Key? key, ThemeData data, Widget child)?, TResult tabBarView(Key? key, List<Widget> children, ScrollPhysics? physics, DragStartBehavior dragStartBehavior, double viewportFraction, Clip clipBehavior)?, TResult navigationRail(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)?, TResult navigationBar(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)?, TResult tab(Key? key, String? text, Widget? icon, EdgeInsets iconMargin, double? height, Widget? child)?, TResult form(Key? key, Widget child, Callback? onChanged, AutovalidateMode? autovalidateMode)?, TResult textRich(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)?, TResult selectableText(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)?, TResult selectableTextRich(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)?, TResult inkWell(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)?, TResult gestureDetector(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)?, TResult textFormField(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)?, TResult materialSwitch(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)?, TResult inputDatePickerFormField(Key? key, DateTime? initialDate, DateTime firstDate, DateTime lastDate, FormDateTimeField? field, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, TextInputType? keyboardType, bool autofocus)?, TResult dropdownButtonFormField(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)?, TResult popupMenuButton(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)?, TResult ignorePointer(Key? key, bool ignoring, bool? ignoringSemantics, Widget? child)?, TResult responsive(Key? key, Widget? child, Map<int, Widget> breakpoints)?, TResult platform(Key? key, Widget? child, Map<TargetPlatform, Widget> targets)?, TResult custom(Key? key, String type, Map<String, Object?>? properties)?, TResult network(Key? key, NetworkHttpRequest request)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult text(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), required TResult sizedBox(Key? key, double? width, double? height, Widget? child), required TResult sizedBoxExpanded(Key? key, Widget? child), required TResult sizedBoxShrink(Key? key, Widget? child), required TResult container(Key? key, Alignment? alignment, EdgeInsets? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsets? margin, Matrix4? transform, Alignment? transformAlignment, Widget? child, Clip clipBehavior), required TResult constrainedBox(Key? key, BoxConstraints constraints, Widget? child), required TResult flex(Key? key, Axis direction, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, Clip clipBehavior, List<Widget> children), required TResult wrap(Key? key, Axis direction, WrapAlignment alignment, double spacing, WrapAlignment runAlignment, double runSpacing, WrapCrossAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, Clip clipBehavior, List<Widget> children), required TResult row(Key? key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, List<Widget> children), required TResult column(Key? key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, List<Widget> children), required TResult stack(Key? key, Alignment alignment, TextDirection? textDirection, StackFit fit, Clip clipBehavior, List<Widget> children), required TResult positioned(Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, Widget child), required TResult image(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), required TResult flexible(Key? key, int flex, FlexFit fit, Widget child), required TResult expanded(Key? key, int flex, Widget child), required TResult center(Key? key, double? widthFactor, double? heightFactor, Widget child), required TResult padding(Key? key, EdgeInsets padding, Widget child), required TResult spacer(Key? key, int flex), required TResult scrollBar(Key? key, Widget child, bool? thumbVisibility, bool? trackVisibility, double? thickness, Radius? radius, bool? interactive, ScrollbarOrientation? scrollbarOrientation), required TResult singleChildScrollView(Key? key, Axis scrollDirection, bool reverse, EdgeInsets? padding, bool? primary, ScrollPhysics? physics, Widget? child, Clip clipBehavior, String? restorationId, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior), required TResult listView(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), required TResult icon(IconData? icon, Key? key, double? size, double? fill, double? weight, double? grade, double? opticalSize, Color? color, List<Shadow>? shadows, String? semanticLabel, TextDirection? textDirection), required TResult iconButton(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), required TResult scaffold(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), required TResult floatingActionButton(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), required TResult floatingActionButtonExtended(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), required TResult card(Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, bool borderOnForeground, EdgeInsets? margin, Clip? clipBehavior, Widget? child, bool semanticContainer), required TResult divider(Key? key, double? height, double? thickness, double? indent, double? endIndent, Color? color), required TResult verticalDivider(Key? key, double? width, double? thickness, double? indent, double? endIndent, Color? color), required TResult material(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), required TResult materialButton(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), required TResult outlinedButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child), required TResult outlinedButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label), required TResult textButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child), required TResult textButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label), required TResult filledButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child), required TResult filledButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label), required TResult filledTonalButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child), required TResult filledTonalButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label), required TResult elevatedButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child), required TResult elevatedButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label), required TResult fractionallySizedBox(Key? key, Alignment alignment, double? widthFactor, double? heightFactor, Widget? child), required TResult fittedBox(Key? key, BoxFit fit, Alignment alignment, Clip clipBehavior, Widget? child), required TResult gridView(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), required TResult placeholder(Key? key, Color color, double strokeWidth, double fallbackWidth, double fallbackHeight, Widget? child), required TResult circularProgressIndicator(Key? key, double? value, Color? backgroundColor, Color? color, double strokeWidth, String? semanticsLabel, String? semanticsValue), required TResult linearProgressIndicator(Key? key, double? value, Color? backgroundColor, Color? color, double? minHeight, String? semanticsLabel, String? semanticsValue), required TResult materialApp(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), required TResult interactiveViewer(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), required TResult customScrollView(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), required TResult listViewCustom(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), required TResult safeArea(Key? key, bool left, bool top, bool right, bool bottom, EdgeInsets minimum, bool maintainBottomViewPadding, Widget child), required TResult offstage(Key? key, bool offstage, Widget? child), required TResult opacity(Key? key, double opacity, bool alwaysIncludeSemantics, Widget? child), required TResult nestedScrollView(Key? key, Axis scrollDirection, bool reverse, ScrollPhysics? physics, List<Sliver> slivers, List<Sliver>? innerBoxIsScrolledSlivers, Widget body, bool floatHeaderSlivers, Clip clipBehavior, String? restorationId), required TResult aspectRatio(Key? key, double aspectRatio, Widget? child), required TResult chip(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), required TResult magnifier(Key? key, Offset additionalFocalPointOffset, BorderRadius borderRadius, Color filmColor, List<BoxShadow> shadows, Size size), required TResult table(Key? key, List<TableRow> children, Map<int, TableColumnWidth>? columnWidths, TableColumnWidth defaultColumnWidth, TextDirection? textDirection, TableBorder? border, TableCellVerticalAlignment defaultVerticalAlignment, TextBaseline? textBaseline), required TResult dataTable(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), required TResult repaintBoundary(Key? key, Widget? child), required TResult clipRect(Key? key, Clip clipBehavior, Widget? child), required TResult clipRRect(Key? key, BorderRadius? borderRadius, Clip clipBehavior, Widget? child), required TResult clipOval(Key? key, Clip clipBehavior, Widget? child), required TResult checkbox(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), required TResult listTile(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), required TResult expansionTile(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), required TResult gridTile(Key? key, Widget? header, Widget? footer, Widget child), required TResult defaultTabController(Key? key, int length, int initialIndex, Widget child, Duration? animationDuration), required TResult defaultTextStyle(Key? key, TextStyle style, TextAlign? textAlign, bool softWrap, TextOverflow overflow, int? maxLines, TextWidthBasis textWidthBasis, TextHeightBehavior? textHeightBehavior, Widget child), required TResult theme(Key? key, ThemeData data, Widget child), required TResult tabBarView(Key? key, List<Widget> children, ScrollPhysics? physics, DragStartBehavior dragStartBehavior, double viewportFraction, Clip clipBehavior), required TResult navigationRail(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), required TResult navigationBar(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), required TResult tab(Key? key, String? text, Widget? icon, EdgeInsets iconMargin, double? height, Widget? child), required TResult form(Key? key, Widget child, Callback? onChanged, AutovalidateMode? autovalidateMode), required TResult textRich(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), required TResult selectableText(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), required TResult selectableTextRich(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), required TResult inkWell(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), required TResult gestureDetector(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), required TResult textFormField(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), required TResult materialSwitch(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), required TResult inputDatePickerFormField(Key? key, DateTime? initialDate, DateTime firstDate, DateTime lastDate, FormDateTimeField? field, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, TextInputType? keyboardType, bool autofocus), required TResult dropdownButtonFormField(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), required TResult popupMenuButton(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), required TResult ignorePointer(Key? key, bool ignoring, bool? ignoringSemantics, Widget? child), required TResult responsive(Key? key, Widget? child, Map<int, Widget> breakpoints), required TResult platform(Key? key, Widget? child, Map<TargetPlatform, Widget> targets), required TResult custom(Key? key, String type, Map<String, Object?>? properties), required TResult network(Key? key, NetworkHttpRequest request)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult? text(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)?, TResult? sizedBox(Key? key, double? width, double? height, Widget? child)?, TResult? sizedBoxExpanded(Key? key, Widget? child)?, TResult? sizedBoxShrink(Key? key, Widget? child)?, TResult? container(Key? key, Alignment? alignment, EdgeInsets? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsets? margin, Matrix4? transform, Alignment? transformAlignment, Widget? child, Clip clipBehavior)?, TResult? constrainedBox(Key? key, BoxConstraints constraints, Widget? child)?, TResult? flex(Key? key, Axis direction, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, Clip clipBehavior, List<Widget> children)?, TResult? wrap(Key? key, Axis direction, WrapAlignment alignment, double spacing, WrapAlignment runAlignment, double runSpacing, WrapCrossAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, Clip clipBehavior, List<Widget> children)?, TResult? row(Key? key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, List<Widget> children)?, TResult? column(Key? key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossAxisAlignment crossAxisAlignment, TextDirection? textDirection, VerticalDirection verticalDirection, TextBaseline? textBaseline, List<Widget> children)?, TResult? stack(Key? key, Alignment alignment, TextDirection? textDirection, StackFit fit, Clip clipBehavior, List<Widget> children)?, TResult? positioned(Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, Widget child)?, TResult? image(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)?, TResult? flexible(Key? key, int flex, FlexFit fit, Widget child)?, TResult? expanded(Key? key, int flex, Widget child)?, TResult? center(Key? key, double? widthFactor, double? heightFactor, Widget child)?, TResult? padding(Key? key, EdgeInsets padding, Widget child)?, TResult? spacer(Key? key, int flex)?, TResult? scrollBar(Key? key, Widget child, bool? thumbVisibility, bool? trackVisibility, double? thickness, Radius? radius, bool? interactive, ScrollbarOrientation? scrollbarOrientation)?, TResult? singleChildScrollView(Key? key, Axis scrollDirection, bool reverse, EdgeInsets? padding, bool? primary, ScrollPhysics? physics, Widget? child, Clip clipBehavior, String? restorationId, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior)?, TResult? listView(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)?, TResult? icon(IconData? icon, Key? key, double? size, double? fill, double? weight, double? grade, double? opticalSize, Color? color, List<Shadow>? shadows, String? semanticLabel, TextDirection? textDirection)?, TResult? iconButton(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)?, TResult? scaffold(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)?, TResult? floatingActionButton(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)?, TResult? floatingActionButtonExtended(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)?, TResult? card(Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, bool borderOnForeground, EdgeInsets? margin, Clip? clipBehavior, Widget? child, bool semanticContainer)?, TResult? divider(Key? key, double? height, double? thickness, double? indent, double? endIndent, Color? color)?, TResult? verticalDivider(Key? key, double? width, double? thickness, double? indent, double? endIndent, Color? color)?, TResult? material(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)?, TResult? materialButton(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)?, TResult? outlinedButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult? outlinedButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult? textButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult? textButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult? filledButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult? filledButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult? filledTonalButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult? filledTonalButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult? elevatedButton(Key? key, Callback? onPressed, Callback? onLongPress, bool autofocus, Clip clipBehavior, Widget child)?, TResult? elevatedButtonIcon(Key? key, Callback? onPressed, Callback? onLongPress, bool? autofocus, Clip? clipBehavior, Widget icon, Widget label)?, TResult? fractionallySizedBox(Key? key, Alignment alignment, double? widthFactor, double? heightFactor, Widget? child)?, TResult? fittedBox(Key? key, BoxFit fit, Alignment alignment, Clip clipBehavior, Widget? child)?, TResult? gridView(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)?, TResult? placeholder(Key? key, Color color, double strokeWidth, double fallbackWidth, double fallbackHeight, Widget? child)?, TResult? circularProgressIndicator(Key? key, double? value, Color? backgroundColor, Color? color, double strokeWidth, String? semanticsLabel, String? semanticsValue)?, TResult? linearProgressIndicator(Key? key, double? value, Color? backgroundColor, Color? color, double? minHeight, String? semanticsLabel, String? semanticsValue)?, TResult? materialApp(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)?, TResult? interactiveViewer(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)?, TResult? customScrollView(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)?, TResult? listViewCustom(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)?, TResult? safeArea(Key? key, bool left, bool top, bool right, bool bottom, EdgeInsets minimum, bool maintainBottomViewPadding, Widget child)?, TResult? offstage(Key? key, bool offstage, Widget? child)?, TResult? opacity(Key? key, double opacity, bool alwaysIncludeSemantics, Widget? child)?, TResult? nestedScrollView(Key? key, Axis scrollDirection, bool reverse, ScrollPhysics? physics, List<Sliver> slivers, List<Sliver>? innerBoxIsScrolledSlivers, Widget body, bool floatHeaderSlivers, Clip clipBehavior, String? restorationId)?, TResult? aspectRatio(Key? key, double aspectRatio, Widget? child)?, TResult? chip(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)?, TResult? magnifier(Key? key, Offset additionalFocalPointOffset, BorderRadius borderRadius, Color filmColor, List<BoxShadow> shadows, Size size)?, TResult? table(Key? key, List<TableRow> children, Map<int, TableColumnWidth>? columnWidths, TableColumnWidth defaultColumnWidth, TextDirection? textDirection, TableBorder? border, TableCellVerticalAlignment defaultVerticalAlignment, TextBaseline? textBaseline)?, TResult? dataTable(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)?, TResult? repaintBoundary(Key? key, Widget? child)?, TResult? clipRect(Key? key, Clip clipBehavior, Widget? child)?, TResult? clipRRect(Key? key, BorderRadius? borderRadius, Clip clipBehavior, Widget? child)?, TResult? clipOval(Key? key, Clip clipBehavior, Widget? child)?, TResult? checkbox(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)?, TResult? listTile(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)?, TResult? expansionTile(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)?, TResult? gridTile(Key? key, Widget? header, Widget? footer, Widget child)?, TResult? defaultTabController(Key? key, int length, int initialIndex, Widget child, Duration? animationDuration)?, TResult? defaultTextStyle(Key? key, TextStyle style, TextAlign? textAlign, bool softWrap, TextOverflow overflow, int? maxLines, TextWidthBasis textWidthBasis, TextHeightBehavior? textHeightBehavior, Widget child)?, TResult? theme(Key? key, ThemeData data, Widget child)?, TResult? tabBarView(Key? key, List<Widget> children, ScrollPhysics? physics, DragStartBehavior dragStartBehavior, double viewportFraction, Clip clipBehavior)?, TResult? navigationRail(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)?, TResult? navigationBar(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)?, TResult? tab(Key? key, String? text, Widget? icon, EdgeInsets iconMargin, double? height, Widget? child)?, TResult? form(Key? key, Widget child, Callback? onChanged, AutovalidateMode? autovalidateMode)?, TResult? textRich(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)?, TResult? selectableText(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)?, TResult? selectableTextRich(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)?, TResult? inkWell(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)?, TResult? gestureDetector(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)?, TResult? textFormField(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)?, TResult? materialSwitch(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)?, TResult? inputDatePickerFormField(Key? key, DateTime? initialDate, DateTime firstDate, DateTime lastDate, FormDateTimeField? field, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, TextInputType? keyboardType, bool autofocus)?, TResult? dropdownButtonFormField(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)?, TResult? popupMenuButton(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)?, TResult? ignorePointer(Key? key, bool ignoring, bool? ignoringSemantics, Widget? child)?, TResult? responsive(Key? key, Widget? child, Map<int, Widget> breakpoints)?, TResult? platform(Key? key, Widget? child, Map<TargetPlatform, Widget> targets)?, TResult? custom(Key? key, String type, Map<String, Object?>? properties)?, TResult? network(Key? key, NetworkHttpRequest request)?}) → TResult?
@optionalTypeArgs, inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited