whenOrNull<TResult extends Object?> method
Null safety
- {TResult? count( )?,
- TResult? extend( )?}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(
int crossAxisCount,
double mainAxisSpacing,
double crossAxisSpacing,
double childAspectRatio,
double? mainAxisExtent)?
count,
TResult? Function(
double maxCrossAxisExtent,
double mainAxisSpacing,
double crossAxisSpacing,
double childAspectRatio,
double? mainAxisExtent)?
extend,
}) =>
throw _privateConstructorUsedError;