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