map<TResult extends Object?> method
Null safety
- {required TResult appBar(
- SliverAppBar value
- required TResult appBarMedium(
- SliverAppBarMedium value
- required TResult appBarLarge(
- SliverAppBarLarge value
- required TResult toBoxAdapter(
- SliverToBoxAdapter value
- required TResult fillRemaining(
- SliverFillRemaining value
- required TResult fillViewport(
- SliverFillViewport value
- required TResult fixedExtentList(
- SliverFixedExtentList value
- required TResult offstage(
- SliverOffstage value
- required TResult list(
- SliverList value
- required TResult grid(
- SliverGrid value
- required TResult ignorePointer(
- SliverIgnorePointer value
- required TResult opacity(
- SliverOpacity value
- required TResult padding(
- SliverPadding value
- required TResult prototypeExtendList( ),
- required TResult safeArea(
- SliverSafeArea value
- required TResult visibility(
- SliverVisibility value
- required TResult visibilityMaintain(
- SliverVisibilityMaintain value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(SliverAppBar value) appBar,
required TResult Function(SliverAppBarMedium value) appBarMedium,
required TResult Function(SliverAppBarLarge value) appBarLarge,
required TResult Function(SliverToBoxAdapter value) toBoxAdapter,
required TResult Function(SliverFillRemaining value) fillRemaining,
required TResult Function(SliverFillViewport value) fillViewport,
required TResult Function(SliverFixedExtentList value) fixedExtentList,
required TResult Function(SliverOffstage value) offstage,
required TResult Function(SliverList value) list,
required TResult Function(SliverGrid value) grid,
required TResult Function(SliverIgnorePointer value) ignorePointer,
required TResult Function(SliverOpacity value) opacity,
required TResult Function(SliverPadding value) padding,
required TResult Function(SliverPrototypeExtentList value)
prototypeExtendList,
required TResult Function(SliverSafeArea value) safeArea,
required TResult Function(SliverVisibility value) visibility,
required TResult Function(SliverVisibilityMaintain value)
visibilityMaintain,
}) =>
throw _privateConstructorUsedError;