whenOrNull<TResult extends Object?> method
Null safety
- {TResult? border(
- BorderSide top,
- BorderSide right,
- BorderSide bottom,
- BorderSide left
- TResult? directional(
- BorderSide top,
- BorderSide start,
- BorderSide end,
- BorderSide bottom
- TResult? roundedRectangle(
- BorderSide side,
- BorderRadius borderRadius
- TResult? stadium(
- BorderSide side
- TResult? oval(
- BorderSide side,
- double eccentricity
- TResult? circle(
- BorderSide side,
- double eccentricity
- TResult? continuousRectangle(
- BorderSide side,
- BorderRadius borderRadius
- TResult? beveledRectangle(
- BorderSide side,
- BorderRadius borderRadius
- TResult? underlineInput(
- BorderSide side,
- BorderRadius borderRadius
- TResult? outlineInput(
- BorderSide side,
- BorderRadius borderRadius,
- double gapPadding
- TResult? noneInput(
- TResult? star( )?}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(BorderSide top, BorderSide right, BorderSide bottom,
BorderSide left)?
border,
TResult? Function(BorderSide top, BorderSide start, BorderSide end,
BorderSide bottom)?
directional,
TResult? Function(BorderSide side, BorderRadius borderRadius)?
roundedRectangle,
TResult? Function(BorderSide side)? stadium,
TResult? Function(BorderSide side, double eccentricity)? oval,
TResult? Function(BorderSide side, double eccentricity)? circle,
TResult? Function(BorderSide side, BorderRadius borderRadius)?
continuousRectangle,
TResult? Function(BorderSide side, BorderRadius borderRadius)?
beveledRectangle,
TResult? Function(BorderSide side, BorderRadius borderRadius)?
underlineInput,
TResult? Function(
BorderSide side, BorderRadius borderRadius, double gapPadding)?
outlineInput,
TResult? Function()? noneInput,
TResult? Function(
BorderSide side,
double points,
double innerRadiusRatio,
double pointRounding,
double valleyRounding,
double rotation,
double squash)?
star,
}) =>
throw _privateConstructorUsedError;