BorderConfig class

Configuration for widget border styling.

Constructors

BorderConfig({required bool enabled, required double width, required String color, required double opacity})
Creates a new BorderConfig instance.
const
BorderConfig.fromJson(Map<String, dynamic> json)
Creates a BorderConfig from a JSON map.
factory

Properties

color String
Border color in hex format.
final
enabled bool
Whether the border is enabled.
final
hashCode int
The hash code for this object.
no setterinherited
opacity double
Border opacity (0.0 to 1.0).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
Border width in points.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this BorderConfig to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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