ButtonComponent constructor

const ButtonComponent({
  1. required String? label,
  2. Color? color,
  3. Function? onPressed,
  4. double borderRadius = 6,
  5. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 28, vertical: 20),
  6. Key? key,
})

Implementation

const ButtonComponent(
    {required this.label,
    this.color,
    this.onPressed,
    this.borderRadius = 6,
    this.padding = const EdgeInsets.symmetric(horizontal: 28, vertical: 20),
    Key? key})
    : super(key: key);