map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult text(
    1. Text value
    ),
  2. required TResult sizedBox(
    1. SizedBox value
    ),
  3. required TResult sizedBoxExpanded(
    1. SizedBoxExpanded value
    ),
  4. required TResult sizedBoxShrink(
    1. SizedBoxShrink value
    ),
  5. required TResult container(
    1. Container value
    ),
  6. required TResult constrainedBox(
    1. ConstrainedBox value
    ),
  7. required TResult flex(
    1. Flex value
    ),
  8. required TResult wrap(
    1. Wrap value
    ),
  9. required TResult row(
    1. Row value
    ),
  10. required TResult column(
    1. Column value
    ),
  11. required TResult stack(
    1. Stack value
    ),
  12. required TResult positioned(
    1. Positioned value
    ),
  13. required TResult image(
    1. Image value
    ),
  14. required TResult flexible(
    1. Flexible value
    ),
  15. required TResult expanded(
    1. Expanded value
    ),
  16. required TResult center(
    1. Center value
    ),
  17. required TResult padding(
    1. Padding value
    ),
  18. required TResult spacer(
    1. Spacer value
    ),
  19. required TResult scrollBar(
    1. ScrollBar value
    ),
  20. required TResult singleChildScrollView(
    1. SingleChildScrollView value
    ),
  21. required TResult listView(
    1. ListView value
    ),
  22. required TResult icon(
    1. Icon value
    ),
  23. required TResult iconButton(
    1. IconButton value
    ),
  24. required TResult scaffold(
    1. Scaffold value
    ),
  25. required TResult floatingActionButton(
    1. FloatingActionButton value
    ),
  26. required TResult floatingActionButtonExtended(
    1. FloatingActionButtonExtended value
    ),
  27. required TResult card(
    1. Card value
    ),
  28. required TResult divider(
    1. Divider value
    ),
  29. required TResult verticalDivider(
    1. VerticalDivider value
    ),
  30. required TResult material(
    1. Material value
    ),
  31. required TResult materialButton(
    1. MaterialButton value
    ),
  32. required TResult outlinedButton(
    1. OutlinedButton value
    ),
  33. required TResult outlinedButtonIcon(
    1. OutlinedButtonIcon value
    ),
  34. required TResult textButton(
    1. TextButton value
    ),
  35. required TResult textButtonIcon(
    1. TextButtonIcon value
    ),
  36. required TResult filledButton(
    1. FilledButton value
    ),
  37. required TResult filledButtonIcon(
    1. FilledButtonIcon value
    ),
  38. required TResult filledTonalButton(
    1. FilledTonalButton value
    ),
  39. required TResult filledTonalButtonIcon(
    1. FilledTonalButtonIcon value
    ),
  40. required TResult elevatedButton(
    1. ElevatedButton value
    ),
  41. required TResult elevatedButtonIcon(
    1. ElevatedButtonIcon value
    ),
  42. required TResult fractionallySizedBox(
    1. FractionallySizedBox value
    ),
  43. required TResult fittedBox(
    1. FittedBox value
    ),
  44. required TResult gridView(
    1. GridView value
    ),
  45. required TResult placeholder(
    1. Placeholder value
    ),
  46. required TResult circularProgressIndicator(
    1. CircularProgressIndicator value
    ),
  47. required TResult linearProgressIndicator(
    1. LinearProgressIndicator value
    ),
  48. required TResult materialApp(
    1. MaterialApp value
    ),
  49. required TResult interactiveViewer(
    1. InteractiveViewer value
    ),
  50. required TResult customScrollView(
    1. CustomScrollView value
    ),
  51. required TResult listViewCustom(
    1. ListViewCustom value
    ),
  52. required TResult safeArea(
    1. SafeArea value
    ),
  53. required TResult offstage(
    1. Offstage value
    ),
  54. required TResult opacity(
    1. Opacity value
    ),
  55. required TResult nestedScrollView(
    1. NestedScrollView value
    ),
  56. required TResult aspectRatio(
    1. AspectRatio value
    ),
  57. required TResult chip(
    1. Chip value
    ),
  58. required TResult magnifier(
    1. Magnifier value
    ),
  59. required TResult table(
    1. Table value
    ),
  60. required TResult dataTable(
    1. DataTable value
    ),
  61. required TResult repaintBoundary(
    1. RepaintBoundary value
    ),
  62. required TResult clipRect(
    1. ClipRect value
    ),
  63. required TResult clipRRect(
    1. ClipRRect value
    ),
  64. required TResult clipOval(
    1. ClipOval value
    ),
  65. required TResult checkbox(
    1. Checkbox value
    ),
  66. required TResult listTile(
    1. ListTile value
    ),
  67. required TResult expansionTile(
    1. ExpansionTile value
    ),
  68. required TResult gridTile(
    1. GridTile value
    ),
  69. required TResult defaultTabController(
    1. DefaultTabController value
    ),
  70. required TResult defaultTextStyle(
    1. DefaultTextStyle value
    ),
  71. required TResult theme(
    1. Theme value
    ),
  72. required TResult tabBarView(
    1. TabBarView value
    ),
  73. required TResult navigationRail(
    1. NavigationRail value
    ),
  74. required TResult navigationBar(
    1. NavigationBar value
    ),
  75. required TResult tab(
    1. Tab value
    ),
  76. required TResult form(
    1. Form value
    ),
  77. required TResult textRich(
    1. RichText value
    ),
  78. required TResult selectableText(
    1. SelectableText value
    ),
  79. required TResult selectableTextRich(
    1. RichSelectableText value
    ),
  80. required TResult inkWell(
    1. InkWell value
    ),
  81. required TResult gestureDetector(
    1. GestureDetector value
    ),
  82. required TResult textFormField(
    1. TextFormField value
    ),
  83. required TResult materialSwitch(
    1. Switch value
    ),
  84. required TResult inputDatePickerFormField(
    1. InputDatePickerFormField value
    ),
  85. required TResult dropdownButtonFormField(
    1. DropdownButtonFormField value
    ),
  86. required TResult popupMenuButton(
    1. PopupMenuButton value
    ),
  87. required TResult ignorePointer(
    1. IgnorePointer value
    ),
  88. required TResult responsive(
    1. ResponsiveWidget value
    ),
  89. required TResult platform(
    1. PlatformWidget value
    ),
  90. required TResult custom(
    1. CustomWidget value
    ),
  91. required TResult network(
    1. 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;