FlutterStrutStyle class

Implemented types
Annotations

Constructors

FlutterStrutStyle({String? fontFamily, List<String>? fontFamilyFallback, double? fontSize, double? height, FlutterTextLeadingDistribution? leadingDistribution, double? leading, FlutterFontWeight? fontWeight, FlutterFontStyle? fontStyle, bool? forceStrutHeight, String? debugLabel, String? package})
factory
FlutterStrutStyle.fromJson(Map<String, dynamic> json)
factory
FlutterStrutStyle.fromTextStyle(FlutterTextStyle textStyle, {String? fontFamily, List<String>? fontFamilyFallback, double? fontSize, double? height, FlutterTextLeadingDistribution? leadingDistribution, double? leading, FlutterFontWeight? fontWeight, FlutterFontStyle? fontStyle, bool? forceStrutHeight, String? debugLabel, String? package})
factory

Properties

debugLabel String?
no setterinherited
fontFamily String?
no setterinherited
fontFamilyFallback List<String>?
no setterinherited
fontSize double?
no setterinherited
fontStyle FlutterFontStyle?
no setterinherited
fontWeight FlutterFontWeight?
no setterinherited
forceStrutHeight bool?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
no setterinherited
leading double?
no setterinherited
leadingDistribution FlutterTextLeadingDistribution?
no setterinherited
package String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_FlutterStrutStyle value), {required TResult fromTextStyle(_FlutterStrutStyleFromTextStyle value)}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlutter(AnyWidgetContext context) StrutStyle
override
toString() String
A string representation of this object.
inherited

Operators

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