Adaptive Spinner
A circular progress indicator, scalable and adaptive to multiple platforms, 100% written in Dart.
Usage
Using the AdaptiveSpinner is easy as calling a widget of yours.
Simply call AdaptiveSpinner() where you want the spinner, and eventually pass some options:
- withMessage:
String?you can include a message below the spinner - centeredContainer:
bool?wether or not center the container - withTextAlign:
TextAlign?you can align the message - withStyle:
TextStyle?you can style the message - withSizedBox:
double?you can specify how big should be the space around spinner - withRadius:
double?you can specify the spinner radius - withContainer:
bool (defaults to false)iftruethe AdaptiveSpinner will be put inside aContainerthat will accept the following propertis:- alignment
- padding
- color
- decoration
- foregroundDecoration
- width
- height
- margin
- transform
- clipBehavior