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