ProgressUic constructor
const
ProgressUic({})
Implementation
const ProgressUic({
Key? key,
this.child,
this.color,
this.dimColor = Colors.black38,
this.dimContent = false,
this.inProgress = true,
this.looseConstraints = false,
this.size,
this.text = '',
this.textLocation = ProgressUicTextLocation.bottom,
this.textStyle,
}) : assert(!(!inProgress && child == null),
"You must define 'child', when 'inProgress' is false"),
assert(!(inProgress && dimContent && child == null),
"You must define 'child', when 'dimContent' is true"),
super(key: key);