LoadingBar class

Loading-style implementation of ActivityBar.

Loading [        •             ]

The character will bounce from left to right while the bar is active.

Inheritance

Constructors

LoadingBar.new({String? title, String failure = '✗', String success = '✓'})

Properties

failure String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success String
finalinherited
title String?
Returns or sets the title of the activity bar.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Console console, ActivityIndicatorState state) → void
Render the activity indicator.
inherited
renderActiveBar(int tick, int width) ConsoleText
Called each time the ActivityBar should refresh its display.
override
toString() String
A string representation of this object.
inherited

Operators

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