FLinearProgressStyle class
A linear FProgress's style.
- Mixed-in types
- Available extensions
Constructors
- FLinearProgressStyle.new({required BoxDecoration backgroundDecoration, required BoxDecoration progressDecoration, BoxConstraints constraints = const BoxConstraints.tightFor(height: 10.0), Curve curve = Curves.ease})
-
Creates a FLinearProgressStyle.
const
- FLinearProgressStyle.inherit({required FColors colors, required FStyle style})
- Creates a FLinearProgressStyle that inherits its properties.
Properties
- backgroundDecoration → BoxDecoration
-
The progress's background's decoration.
final
- constraints → BoxConstraints
-
The linear progress's constraints. Defaults to a height of 10.0 and no horizontal constraint.
final
- curve → Curve
-
The animation curve. Defaults to Curves.ease.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- progressDecoration → BoxDecoration
-
The progress's decoration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
Object? _) → FLinearProgressStyle -
Returns itself.
inherited
-
copyWith(
{BoxConstraints? constraints, BoxDecoration? backgroundDecoration, BoxDecoration? progressDecoration, Curve? curve}) → FLinearProgressStyle -
Available on FLinearProgressStyle, provided by the $FLinearProgressStyleCopyWith extension
Returns a copy of this FLinearProgressStyle with the given properties replaced. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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