OvalConfig class

Geometry and styling of the oval face guide, its frosted surroundings and the animated progress ring.

Every default reproduces the current v2.0 behaviour, so passing a bare const OvalConfig() changes nothing.

Constructors

OvalConfig({double widthFraction = 0.72, double aspectRatio = 1.32, double verticalOffsetFraction = -0.06, double blurSigma = 8.0, double ringStrokeWidth = 5.0, Color ringTrackColor = const Color(0x33FFFFFF), double ringPadding = 6.0})
const

Properties

aspectRatio → double
Oval height relative to its width (height = width * aspectRatio).
final
blurSigma → double
Gaussian blur sigma for the frosted area outside the oval.
final
hashCode → int
The hash code for this object.
no setterinherited
ringPadding → double
Padding between the oval edge and the ring.
final
ringStrokeWidth → double
Stroke width of the progress ring.
final
ringTrackColor → Color
Color of the unfilled ring track.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verticalOffsetFraction → double
Vertical offset as a fraction of canvas height (negative = upward).
final
widthFraction → double
Oval width as a fraction of the canvas width.
final

Methods

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