ThemedButton constructor

const ThemedButton({
  1. Key? key,
  2. TextStyle? textStyle,
  3. VoidCallback? onPressed,
  4. String? text,
  5. Widget? child,
  6. Color? bgColor,
  7. Color? txtColor,
})

Implementation

const ThemedButton(
    {Key? key,
    this.textStyle,
    this.onPressed,
    this.text,
    this.child,
    this.bgColor,
    this.txtColor})
    : super(key: key);