AdaptiveSpinner constructor

const AdaptiveSpinner({
  1. Key? key,
  2. Alignment? alignment,
  3. Clip clipBehavior = Clip.none,
  4. Color? withContainerColor,
  5. Color withSpinnerColor = Colors.black,
  6. Decoration? decoration,
  7. Decoration? foregroundDecoration,
  8. double? height,
  9. EdgeInsetsGeometry? margin,
  10. Matrix4? matrix,
  11. EdgeInsetsGeometry? padding,
  12. double? width,
  13. bool withContainer = false,
  14. String? withMessage,
  15. double withRadius = radiusDefaultValue,
  16. double? withSizedBox,
  17. TextStyle? withStyle,
  18. TextAlign? withTextAlign,
  19. Duration withDuration = const Duration(milliseconds: 1200),
})

Every argument is optional

Implementation

const AdaptiveSpinner({
  Key? key,
  this.alignment,
  this.clipBehavior = Clip.none,
  this.withContainerColor,
  this.withSpinnerColor = Colors.black,
  this.decoration,
  this.foregroundDecoration,
  this.height,
  this.margin,
  this.matrix,
  this.padding,
  this.width,
  this.withContainer = false,
  this.withMessage,
  this.withRadius = radiusDefaultValue,
  this.withSizedBox,
  this.withStyle,
  this.withTextAlign,
  this.withDuration = const Duration(milliseconds: 1200),
}) : super(key: key);