RxSpinner constructor
const
RxSpinner({})
Creates a new RxSpinner instance
busyEvents
: Stream<bool>
that controls the activity of the Spinner. On receiving true
it replaces the normal
widget
and starts running until it receives a false
value.
platform
: defines platform style of the Spinner. If this is null or not provided the style of the current platform will be used
radius
: radius of the Spinner
normal
: Widget that should be displayed while the Spinner is not active. If this is null a Container
will be created instead.
all other parameters please see https://docs.flutter.io/flutter/material/CircularProgressIndicator-class.html
they are ignored if the platform style is iOS.
Implementation
const RxSpinner(
{required this.busyEvents,
this.platform,
this.radius = 20.0,
this.backgroundColor,
this.value,
this.valueColor,
this.strokeWidth = 4.0,
this.normal,
Key? key})
: super(key: key);