maybeWhen<TResult extends Object?> method
Null safety
- TResult $default(
- BorderSide top,
- BorderSide right,
- BorderSide bottom,
- BorderSide left,
- BorderSide horizontalInside,
- BorderSide verticalInside,
- BorderRadius borderRadius
- {TResult all(
- Color color,
- double width,
- BorderStyle style,
- BorderRadius borderRadius
- TResult symmetric(
- BorderSide inside,
- BorderSide outside
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
TResult Function(
BorderSide top,
BorderSide right,
BorderSide bottom,
BorderSide left,
BorderSide horizontalInside,
BorderSide verticalInside,
BorderRadius borderRadius)?
$default, {
TResult Function(Color color, double width, BorderStyle style,
BorderRadius borderRadius)?
all,
TResult Function(BorderSide inside, BorderSide outside)? symmetric,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;