Introduction :

Progress Indicator describes the time which is needed for some tasks to complete such as downloading, installation, uploading, file transfer, etc. It basically shows the progress of a task or a time to display the length of processes.

Table of content :

:: Circular and Linear Progress Indicator

:: Types of progress indicators

:: Properties of a progress indicator

Circular and Linear Progress Indicator:

Flutter can display or indicate the currently running progress in two ways CircularProgressIndicator and LinearProgressIndicator. They both can be used to inform the users about the status of ongoing progress and can currently make the users on hold for a while for any task or progress to complete such as file transfer, uploading, installation, downloading, etc.

CircularProgressIndicator is a circular progress bar that spins to indicate that the application is busy or on hold or it is a widget that shows progress along a circle. While LinearProgressIndicator which is also known as a progress bar is basically a widget that shows progress in a linear direction or along a line.

There are two types of progress indicators:

Indeterminate: Indeterminate progress indicator is basically an indicator that does not have a specific value at any instance and indicates that the process is being made without indicating how much progress remains. To create an indeterminate progress bar we use value property as null.

Determinate: Determinate progress indicator is basically an indicator that does have a specific value at each time or an instance and it does indicate how much progress is completed. The value here increases monotonically from 0 to 1, where 0 indicates that progress is just started and 1 indicates that the progress is completed.

#dart #flutter #flutter-widget

CircularProgressIndicator vs. LinearProgressIndicator In Flutter
28.75 GEEK