StrutStyle class Null safety
- Annotations
-
- @freezed
Constructors
-
StrutStyle({String? fontFamily, List<
String> ? fontFamilyFallback, double? fontSize, double? height, TextLeadingDistribution? leadingDistribution, double? leading, FontWeight? fontWeight, FontStyle? fontStyle, bool? forceStrutHeight, String? debugLabel, String? package}) -
constfactory
-
StrutStyle.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $StrutStyleCopyWith<
StrutStyle> -
@JsonKey(ignore: true), read-only, inherited
- debugLabel → String?
-
read-only, inherited
- fontFamily → String?
-
read-only, inherited
-
fontFamilyFallback
→ List<
String> ? -
read-only, inherited
- fontSize → double?
-
read-only, inherited
- fontStyle → FontStyle?
-
read-only, inherited
- fontWeight → FontWeight?
-
read-only, inherited
- forceStrutHeight → bool?
-
read-only, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- height → double?
-
read-only, inherited
- leading → double?
-
read-only, inherited
- leadingDistribution → TextLeadingDistribution?
-
read-only, inherited
- package → String?
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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