SquareProgressIndicator class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SquareProgressIndicator
Constructors
- SquareProgressIndicator({Key? key, double? value, bool clockwise = true, double borderRadius = 8, Color? color, Color? emptyStrokeColor, double strokeWidth = 4, double emptyStrokeWidth = 4, Widget? child, double startPosition = 0, double width = 38, double height = 38, SquareStrokeAlign strokeAlign = SquareStrokeAlign.inside, StrokeCap? strokeCap})
-
const
Properties
- borderRadius → double
-
The border radius of the rectangle, it is applied to all four corners.
final
- child → Widget?
-
The child widget, it can be a text or everything you need.
final
- clockwise → bool
-
The direction of turn of progress line, if you pass false, the progress line will be reversed, default value is true.
final
- color → Color?
-
The color of the progress line.
final
- emptyStrokeColor → Color?
-
The color of the line behind the progress line which show for reminding progress.
final
- emptyStrokeWidth → double
-
The width of the line behind the progress line which show for reminding progress.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The height of rectangle that the progress line is drawn around it.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startPosition → double
-
Start position of progress line relative to the topCenter, you can pass a value from StartPosition class or custom double value you need.
final
- strokeAlign → SquareStrokeAlign
-
The stroke align of the progress line, pass a value from SquareStrokeAlign and read it's documents. see: https://api.flutter.dev/flutter/painting/BorderSide/strokeAlign.html
final
- strokeCap → StrokeCap?
-
The stroke cap of the progress line and empty line, see: https://api.flutter.dev/flutter/dart-ui/StrokeCap.html
final
- strokeWidth → double
-
The width of the progress line.
final
- value → double?
-
The value of the progress, it should be between 0 and 1.
final
- width → double
-
The width of rectangle that the progress line is drawn around it.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited