StoryTypography class
Constructors
- StoryTypography({String? font = 'Roboto', double? fontSize = 15.0, String? fontStyle = 'normal', String? align = 'center', String? transform = 'normal'})
- StoryTypography.fromJson(Map json)
Properties
- align ↔ String?
-
getter/setter pair
- font ↔ String?
-
getter/setter pair
- fontSize ↔ double?
-
getter/setter pair
- fontStyle ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transform ↔ String?
-
getter/setter pair
Methods
-
convertStringToAlign(
) → TextAlign -
convertStringToDecoration(
) → TextDecoration -
convertStringToStyle(
) → FontStyle -
convertStringToTransform(
) → TypographyTransform -
convertStringToWeight(
) → FontWeight -
getFontStyle(
) → TypographyFontStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
updateAlign(
TextAlign alg) → void -
updateFontStyle(
TypographyFontStyle style) → void -
updateTransform(
TypographyTransform transf) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- createEmpty → StoryTypography
-
no setter
Static Methods
-
convertAlignToString(
TextAlign align) → String