Constructors
-
TableBorder({@Default(BorderSide.none) BorderSide top, @Default(BorderSide.none) BorderSide right, @Default(BorderSide.none) BorderSide bottom, @Default(BorderSide.none) BorderSide left, @Default(BorderSide.none) BorderSide horizontalInside, @Default(BorderSide.none) BorderSide verticalInside, @Default(BorderRadius.zero) BorderRadius borderRadius})
-
const
factory
-
TableBorder.all({@Default(Color(0xFF000000)) Color color, @Default(1.0) double width, @Default(BorderStyle.solid) BorderStyle style, @Default(BorderRadius.zero) BorderRadius borderRadius})
-
const
factory
-
TableBorder.fromJson(Map<String, Object?> json)
-
factory
-
TableBorder.symmetric({@Default(BorderSide.none) BorderSide inside, @Default(BorderSide.none) BorderSide outside})
-
const
factory
Properties
-
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
Methods
-
map<TResult extends Object?>(TResult $default(_TableBorder value), {required TResult all(TableBorderAll value), required TResult symmetric(TableBorderSymmetric value)})
→ TResult
-
-
mapOrNull<TResult extends Object?>(TResult? $default(_TableBorder value)?, {TResult? all(TableBorderAll value)?, TResult? symmetric(TableBorderSymmetric value)?})
→ TResult?
-
-
maybeMap<TResult extends Object?>(TResult $default(_TableBorder value)?, {TResult all(TableBorderAll value)?, TResult symmetric(TableBorderSymmetric value)?, required TResult orElse()})
→ TResult
-
-
maybeWhen<TResult extends Object?>(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()})
→ TResult
-
-
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?>(TResult $default(BorderSide top, BorderSide right, BorderSide bottom, BorderSide left, BorderSide horizontalInside, BorderSide verticalInside, BorderRadius borderRadius), {required TResult all(Color color, double width, BorderStyle style, BorderRadius borderRadius), required TResult symmetric(BorderSide inside, BorderSide outside)})
→ TResult
-
-
whenOrNull<TResult extends Object?>(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)?})
→ TResult?
-