ActionRoundedButton constructor

const ActionRoundedButton({
  1. required double size,
  2. required Widget icon,
  3. Color? backgroundColor,
  4. Color? foregroundColor,
  5. VoidCallback? onTap,
  6. Widget replacementWidgetIfInvisible = const SizedBox(),
  7. bool isVisible = true,
  8. String title = '',
  9. double radius = 10,
  10. double textPadding = 3.0,
})

Implementation

const ActionRoundedButton({
  required this.size,
  required this.icon,
  this.backgroundColor,
  this.foregroundColor,
  this.onTap,
  this.replacementWidgetIfInvisible = const SizedBox(),
  this.isVisible = true,
  this.title = '',
  this.radius = 10,
  this.textPadding = 3.0,
});