KitRoundedButton constructor

const KitRoundedButton({
  1. Widget? child,
  2. String? text,
  3. VoidCallback? onPressed,
  4. Color? color,
  5. Color? textColor,
  6. bool expanded = false,
  7. Key? key,
})

Implementation

const KitRoundedButton({
  this.child,
  this.text,
  this.onPressed,
  this.color,
  this.textColor,
  this.expanded = false,
  super.key,
}) : assert(child != null || text != null);