BorderDirectional class Null safety
- Implemented types
Constructors
- BorderDirectional({BorderSide top, BorderSide start, BorderSide end, BorderSide bottom})
-
constfactory
-
BorderDirectional.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bottom → BorderSide
-
read-only
-
copyWith
→ _$$BorderDirectionalCopyWith<
_$BorderDirectional> -
@JsonKey(ignore: true), read-only
- end → BorderSide
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- start → BorderSide
-
read-only
- top → BorderSide
-
read-only
Methods
-
map<
TResult extends Object?> ({required TResult border(Border value), required TResult directional(BorderDirectional value), required TResult roundedRectangle(RoundedRectangleBorder value), required TResult stadium(StadiumBorder value), required TResult oval(OvalBorder value), required TResult circle(CircleBorder value), required TResult continuousRectangle(ContinuousRectangleBorder value), required TResult beveledRectangle(BeveledRectangleBorder value), required TResult underlineInput(UnderlineInputBorder value), required TResult outlineInput(OutlineInputBorder value), required TResult noneInput(InputBorderNone value), required TResult star(StarBorder value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> ({TResult? border(Border value)?, TResult? directional(BorderDirectional value)?, TResult? roundedRectangle(RoundedRectangleBorder value)?, TResult? stadium(StadiumBorder value)?, TResult? oval(OvalBorder value)?, TResult? circle(CircleBorder value)?, TResult? continuousRectangle(ContinuousRectangleBorder value)?, TResult? beveledRectangle(BeveledRectangleBorder value)?, TResult? underlineInput(UnderlineInputBorder value)?, TResult? outlineInput(OutlineInputBorder value)?, TResult? noneInput(InputBorderNone value)?, TResult? star(StarBorder value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> ({TResult border(Border value)?, TResult directional(BorderDirectional value)?, TResult roundedRectangle(RoundedRectangleBorder value)?, TResult stadium(StadiumBorder value)?, TResult oval(OvalBorder value)?, TResult circle(CircleBorder value)?, TResult continuousRectangle(ContinuousRectangleBorder value)?, TResult beveledRectangle(BeveledRectangleBorder value)?, TResult underlineInput(UnderlineInputBorder value)?, TResult outlineInput(OutlineInputBorder value)?, TResult noneInput(InputBorderNone value)?, TResult star(StarBorder value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> ({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(BorderSide side, double points, double innerRadiusRatio, double pointRounding, double valleyRounding, double rotation, double squash)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult border(BorderSide top, BorderSide right, BorderSide bottom, BorderSide left), required TResult directional(BorderSide top, BorderSide start, BorderSide end, BorderSide bottom), required TResult roundedRectangle(BorderSide side, BorderRadius borderRadius), required TResult stadium(BorderSide side), required TResult oval(BorderSide side, double eccentricity), required TResult circle(BorderSide side, double eccentricity), required TResult continuousRectangle(BorderSide side, BorderRadius borderRadius), required TResult beveledRectangle(BorderSide side, BorderRadius borderRadius), required TResult underlineInput(BorderSide side, BorderRadius borderRadius), required TResult outlineInput(BorderSide side, BorderRadius borderRadius, double gapPadding), required TResult noneInput(), required TResult star(BorderSide side, double points, double innerRadiusRatio, double pointRounding, double valleyRounding, double rotation, double squash)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> ({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(BorderSide side, double points, double innerRadiusRatio, double pointRounding, double valleyRounding, double rotation, double squash)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited