BorderSide class Null safety

Annotations
  • @freezed

Constructors

BorderSide({@Default(Color(0xFF000000)) Color color, @Default(1.0) double width, @Default(BorderStyle.solid) BorderStyle style, @Default(-1.0) double strokeAlign})
const
factory
BorderSide.fromJson(Map<String, Object?> json)
factory

Properties

color Color
read-only, inherited
copyWith → $BorderSideCopyWith<BorderSide>
@JsonKey(ignore: true), read-only, inherited
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
strokeAlign double
read-only, inherited
style BorderStyle
read-only, inherited
width double
read-only, inherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

none → const BorderSide
BorderSide(color: Color(0x00000000), width: 0.0, style: BorderStyle.none)