FProgressStyle class final

FProgress's style.

Mixed-in types

Constructors

FProgressStyle({required BoxDecoration backgroundDecoration, required BoxDecoration progressDecoration, BoxConstraints constraints = const BoxConstraints(minHeight: 15.0, maxHeight: 15.0), Duration animationDuration = const Duration(milliseconds: 500), Curve curve = Curves.ease})
Creates a FProgressStyle.
const
FProgressStyle.inherit({required FColorScheme colorScheme, required FStyle style})
Creates a FProgressStyle that inherits its properties from colorScheme and style.

Properties

animationDuration Duration
The animation duration. Defaults to 500ms.
final
backgroundDecoration BoxDecoration
The background's color.
final
constraints BoxConstraints
The constraints for the progress bar. Defaults to a height of 15.0.
final
curve Curve
The animation curve. Defaults to Curves.ease.
final
hashCode int
The hash code for this object.
no setteroverride
progressDecoration BoxDecoration
The progress's color.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({BoxDecoration? backgroundDecoration, BoxDecoration? progressDecoration, BoxConstraints? constraints, Duration? animationDuration, Curve? curve}) FProgressStyle
Returns a copy of this FProgressStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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