PrinterActionButton constructor

const PrinterActionButton({
  1. Key? key,
  2. required IconData icon,
  3. required String label,
  4. required VoidCallback? onPressed,
  5. PrinterActionTone tone = PrinterActionTone.neutral,
  6. bool isLoading = false,
  7. Color? accentColor,
})

Implementation

const PrinterActionButton({
  super.key,
  required this.icon,
  required this.label,
  required this.onPressed,
  this.tone = PrinterActionTone.neutral,
  this.isLoading = false,
  this.accentColor,
});