JuiLoading constructor

const JuiLoading({
  1. Key? key,
  2. Color color = JuiColors.primaryColor,
  3. double size = JuiFontSize.f20,
  4. double strokeWidth = 3,
  5. bool withBackground = false,
})

Implementation

const JuiLoading({
  Key? key,
  this.color = JuiColors.primaryColor,
  this.size = JuiFontSize.f20,
  this.strokeWidth = 3,
  this.withBackground = false,
})  : assert(size > 0),
      assert(strokeWidth > 0),
      super(key: key);