BuildButton constructor

const BuildButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. required Widget child,
})

Implementation

const BuildButton({Key? key, this.onPressed, required this.child})
    : super(key: key);