Style class

Represents a style object that defines the styling rules for a specific breakpoint.

Constructors

Style({required int? breakPoint, required StyleRule? defaultStyleRule, required List<TypedStyleRule>? rules})
Default constructor
Style.fromJson(Map<String, dynamic> json)
Constructs the object from json

Properties

breakPoint int?
breakPoint - The breakpoint value at which the styling rules should be applied.
getter/setter pair
defaultStyleRule StyleRule?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rules List<TypedStyleRule>?
rules - An array of typed styling rules to be applied.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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