GaugeTextStyle class Null safety

This class has the property of the guage text style.

Provides the options of color, font family, font style, font size, and font-weight to customize the appearance.

Annotations

Constructors

GaugeTextStyle({Color? color, String fontFamily = 'Segoe UI', FontStyle fontStyle = FontStyle.normal, FontWeight fontWeight = FontWeight.normal, double fontSize = 12})
Creates a gauge text style with default or required properties.
const

Properties

color Color?
To set the color of guage text.
final
fontFamily String
To set the font family to guage text. [...]
final
fontSize double
To set the font size to gauge text [...]
final
fontStyle FontStyle
To set the font style to guage text.
final
fontWeight FontWeight
To set the font weight to gauge text. [...]
final
hashCode int
The hash code for this object. [...]
read-only, override
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
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override