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