FProgressStyle class
A FProgress's style.
- Mixed-in types
- Available extensions
Constructors
- FProgressStyle({required BoxDecoration trackDecoration, required BoxDecoration fillDecoration, BoxConstraints constraints = const BoxConstraints.tightFor(height: 10.0), FProgressMotion motion = const FProgressMotion()})
-
Creates a FProgressStyle.
const
- FProgressStyle.inherit({required FColors colors, required FStyle style})
- Creates a FProgressStyle that inherits its properties.
Properties
- constraints → BoxConstraints
-
The linear progress's constraints. Defaults to a height of 10.0 and no horizontal constraint.
final
- fillDecoration → BoxDecoration
-
The fill's decoration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- motion → FProgressMotion
-
The motion-related properties for an indeterminate FProgress.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trackDecoration → BoxDecoration
-
The track's decoration.
final
Methods
-
call(
Object? _) → FProgressStyle -
Returns itself.
inherited
-
copyWith(
{BoxConstraints? constraints, BoxDecoration? trackDecoration, BoxDecoration? fillDecoration, FProgressMotion motion(FProgressMotion motion)?}) → FProgressStyle -
Available on FProgressStyle, provided by the $FProgressStyleTransformations extension
Returns a copy of this FProgressStyle with the given properties replaced. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
FProgressStyle other, double t) → FProgressStyle -
Available on FProgressStyle, provided by the $FProgressStyleTransformations extension
Linearly interpolate between this and another FProgressStyle using the given factort
. -
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.
inherited