NetworkFont class
Data of network font
Constructors
- NetworkFont(String family, {required String url})
Properties
- family → String
-
Family name of you font
final
- fileName → String
-
latefinal
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
Url where to download your font file.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
style(
{Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, Locale? locale, Paint? foreground, Paint? background, List< Shadow> ? shadows, List<FontFeature> ? fontFeatures, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness}) → TextStyle - Decorate Text with your custom font
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override