ModProgressConfig constructor
const
ModProgressConfig({
- ModProgressPosition position = ModProgressPosition.topRight,
- ModProgressType type = ModProgressType.circular,
- String? title,
- String? subtitle,
- double? initialProgress,
- Color? backgroundColor,
- Color? borderColor,
- double borderWidth = 1.0,
- double borderRadius = 8.0,
- Color? progressColor,
- Color? progressBackgroundColor,
- Color? titleColor,
- Color? subtitleColor,
- double titleFontSize = 14.0,
- double subtitleFontSize = 12.0,
- double? width = 300.0,
- double? height,
- double circularSize = 24.0,
- double circularStrokeWidth = 3.0,
- double linearHeight = 4.0,
- EdgeInsets padding = const EdgeInsets.all(16.0),
- EdgeInsets margin = const EdgeInsets.all(16.0),
- bool showCloseButton = true,
- bool barrierDismissible = false,
- bool showBarrier = false,
- Color barrierColor = Colors.black26,
- List<
BoxShadow> ? boxShadow, - IconData? icon,
- Color? iconColor,
- double iconSize = 20.0,
Implementation
const ModProgressConfig({
this.position = ModProgressPosition.topRight,
this.type = ModProgressType.circular,
this.title,
this.subtitle,
this.initialProgress,
this.backgroundColor,
this.borderColor,
this.borderWidth = 1.0,
this.borderRadius = 8.0,
this.progressColor,
this.progressBackgroundColor,
this.titleColor,
this.subtitleColor,
this.titleFontSize = 14.0,
this.subtitleFontSize = 12.0,
this.width = 300.0,
this.height,
this.circularSize = 24.0,
this.circularStrokeWidth = 3.0,
this.linearHeight = 4.0,
this.padding = const EdgeInsets.all(16.0),
this.margin = const EdgeInsets.all(16.0),
this.showCloseButton = true,
this.barrierDismissible = false,
this.showBarrier = false,
this.barrierColor = Colors.black26,
this.boxShadow,
this.icon,
this.iconColor,
this.iconSize = 20.0,
});