FLinearProgressStyle class
A linear FProgress's style.
- Implemented types
- 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
-
copyWith(
{BoxConstraints? constraints, BoxDecoration? backgroundDecoration, BoxDecoration? progressDecoration, Curve? curve}) → FLinearProgressStyle -
Returns a copy of this FLinearProgressStyle with the given properties replaced.
inherited
-
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
-
transform(
T function(T)) → T -
Available on T, provided by the FTransformables extension
Transform thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited