AsyncButton.outlineButton constructor

const AsyncButton.outlineButton({
  1. required Text? text,
  2. Future<void> onPressed()?,
  3. Color color = Colors.grey,
  4. BorderRadius? borderRadius = BorderRadius.zero,
  5. Color? loadingColor,
  6. Color? loadingBackgroundColor = Colors.grey,
  7. AsyncStatus busyBuilder()?,
  8. 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);