AsyncButton.outlineButton constructor
const
AsyncButton.outlineButton({
- required Text? text,
- Future<
void> onPressed()?, - Color color = Colors.grey,
- BorderRadius? borderRadius = BorderRadius.zero,
- Color? loadingColor,
- Color? loadingBackgroundColor = Colors.grey,
- AsyncStatus busyBuilder()?,
- Key? key,
Implementation
const AsyncButton.outlineButton({required this.text, this.onPressed, this.color = Colors.grey, this.borderRadius = BorderRadius.zero, this.loadingColor, this.loadingBackgroundColor = Colors.grey, this.busyBuilder, Key? key}):
type = AsyncButtonType.OUTLINE,
icon = null,
busyIcon = null,
elevation = 0,
assert(text != null),
super(key: key);