RadialGaugeLayout class

Defines the radial gauge layout. The layout is defined by the three rects and the radius.

Constructors

RadialGaugeLayout({required Rect circleRect, required Rect targetRect, required Rect sourceRect, required double radius})
RadialGaugeLayout.calculate(BoxConstraints constraints, RadialGaugeSizeRatios ratios, {double? preferredRadius, Alignment alignment = Alignment.center})
Calculate the layout based on the size, ratios and the gauge alignment.
factory

Properties

circleRect Rect
final
hashCode int
The hash code for this object.
no setterinherited
radius double
The circle radius
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceRect Rect
final
targetRect Rect
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shift(Offset offset) RadialGaugeLayout
Shift the layout by the provided offset. This is used during the paint.
toString() String
A string representation of this object.
inherited

Operators

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