maybeMap<TResult extends Object?> method
Null safety
- {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( )?,
- 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( )?,
- 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 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(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(Text value)? text,
TResult Function(SizedBox value)? sizedBox,
TResult Function(SizedBoxExpanded value)? sizedBoxExpanded,
TResult Function(SizedBoxShrink value)? sizedBoxShrink,
TResult Function(Container value)? container,
TResult Function(ConstrainedBox value)? constrainedBox,
TResult Function(Flex value)? flex,
TResult Function(Wrap value)? wrap,
TResult Function(Row value)? row,
TResult Function(Column value)? column,
TResult Function(Stack value)? stack,
TResult Function(Positioned value)? positioned,
TResult Function(Image value)? image,
TResult Function(Flexible value)? flexible,
TResult Function(Expanded value)? expanded,
TResult Function(Center value)? center,
TResult Function(Padding value)? padding,
TResult Function(Spacer value)? spacer,
TResult Function(ScrollBar value)? scrollBar,
TResult Function(SingleChildScrollView value)? singleChildScrollView,
TResult Function(ListView value)? listView,
TResult Function(Icon value)? icon,
TResult Function(IconButton value)? iconButton,
TResult Function(Scaffold value)? scaffold,
TResult Function(FloatingActionButton value)? floatingActionButton,
TResult Function(FloatingActionButtonExtended value)?
floatingActionButtonExtended,
TResult Function(Card value)? card,
TResult Function(Divider value)? divider,
TResult Function(VerticalDivider value)? verticalDivider,
TResult Function(Material value)? material,
TResult Function(MaterialButton value)? materialButton,
TResult Function(OutlinedButton value)? outlinedButton,
TResult Function(OutlinedButtonIcon value)? outlinedButtonIcon,
TResult Function(TextButton value)? textButton,
TResult Function(TextButtonIcon value)? textButtonIcon,
TResult Function(FilledButton value)? filledButton,
TResult Function(FilledButtonIcon value)? filledButtonIcon,
TResult Function(FilledTonalButton value)? filledTonalButton,
TResult Function(FilledTonalButtonIcon value)? filledTonalButtonIcon,
TResult Function(ElevatedButton value)? elevatedButton,
TResult Function(ElevatedButtonIcon value)? elevatedButtonIcon,
TResult Function(FractionallySizedBox value)? fractionallySizedBox,
TResult Function(FittedBox value)? fittedBox,
TResult Function(GridView value)? gridView,
TResult Function(Placeholder value)? placeholder,
TResult Function(CircularProgressIndicator value)?
circularProgressIndicator,
TResult Function(LinearProgressIndicator value)? linearProgressIndicator,
TResult Function(MaterialApp value)? materialApp,
TResult Function(InteractiveViewer value)? interactiveViewer,
TResult Function(CustomScrollView value)? customScrollView,
TResult Function(ListViewCustom value)? listViewCustom,
TResult Function(SafeArea value)? safeArea,
TResult Function(Offstage value)? offstage,
TResult Function(Opacity value)? opacity,
TResult Function(NestedScrollView value)? nestedScrollView,
TResult Function(AspectRatio value)? aspectRatio,
TResult Function(Chip value)? chip,
TResult Function(Magnifier value)? magnifier,
TResult Function(Table value)? table,
TResult Function(DataTable value)? dataTable,
TResult Function(RepaintBoundary value)? repaintBoundary,
TResult Function(ClipRect value)? clipRect,
TResult Function(ClipRRect value)? clipRRect,
TResult Function(ClipOval value)? clipOval,
TResult Function(Checkbox value)? checkbox,
TResult Function(ListTile value)? listTile,
TResult Function(ExpansionTile value)? expansionTile,
TResult Function(GridTile value)? gridTile,
TResult Function(DefaultTabController value)? defaultTabController,
TResult Function(DefaultTextStyle value)? defaultTextStyle,
TResult Function(Theme value)? theme,
TResult Function(TabBarView value)? tabBarView,
TResult Function(NavigationRail value)? navigationRail,
TResult Function(NavigationBar value)? navigationBar,
TResult Function(Tab value)? tab,
TResult Function(Form value)? form,
TResult Function(RichText value)? textRich,
TResult Function(SelectableText value)? selectableText,
TResult Function(RichSelectableText value)? selectableTextRich,
TResult Function(InkWell value)? inkWell,
TResult Function(GestureDetector value)? gestureDetector,
TResult Function(TextFormField value)? textFormField,
TResult Function(Switch value)? materialSwitch,
TResult Function(InputDatePickerFormField value)? inputDatePickerFormField,
TResult Function(DropdownButtonFormField value)? dropdownButtonFormField,
TResult Function(PopupMenuButton value)? popupMenuButton,
TResult Function(IgnorePointer value)? ignorePointer,
TResult Function(ResponsiveWidget value)? responsive,
TResult Function(PlatformWidget value)? platform,
TResult Function(CustomWidget value)? custom,
TResult Function(NetworkWidget value)? network,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;