SILNoBorderButton constructor

const SILNoBorderButton({
  1. Key? buttonKey,
  2. required Function? onPressed,
  3. required String? text,
  4. Function? onLongPress,
  5. Color? textColor,
  6. Widget? customChild,
})

Implementation

const SILNoBorderButton(
    {this.buttonKey,
    required this.onPressed,
    required this.text,
    this.onLongPress,
    this.textColor,
    this.customChild})
    : assert(onPressed != null && text != null);