RxSpinner constructor

const RxSpinner({Stream<bool> busyEvents, TargetPlatform platform, double radius: 20.0, Color backgroundColor, double value, Animation<Color> valueColor, double strokeWidth: 4.0, Widget normal, Key key })

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 undtil it receives a falsevalue. platform : defines platorm 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({this.busyEvents,
                this.platform,
                this.radius = 20.0,
                this.backgroundColor,
                this.value,
                this.valueColor,
                this.strokeWidth: 4.0,
                this.normal,
                Key key })
        :  assert(busyEvents != null), super(key: key);