NZProgressButton constructor
const
NZProgressButton({})
Implementation
const NZProgressButton({
super.key,
required this.progress,
required this.onPressed,
this.child,
this.label,
this.color,
this.backgroundColor,
this.foregroundColor,
this.width,
this.height = 48.0,
this.borderRadius = 12.0,
this.block = false,
}) : assert(child != null || label != null, '必须提供 child 或 label');