GaugeSegment class
- Annotations
Constructors
- GaugeSegment({required double from, required double to, Color color = const Color(0x00000000), GaugeAxisGradient? gradient, GaugeBorder? border, Shader? shader, Radius cornerRadius = Radius.zero})
-
const
Properties
- border → GaugeBorder?
-
final
- color → Color
-
final
- cornerRadius → Radius
-
final
- from → double
-
final
- gradient → GaugeAxisGradient?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shader → Shader?
-
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - to → double
-
final
Methods
-
copyWith(
{double? from, double? to, Color? color, GaugeAxisGradient? gradient, Shader? shader, GaugeBorder? border, Radius? cornerRadius}) → GaugeSegment -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
lerp(
GaugeSegment begin, GaugeSegment end, double t) → GaugeSegment