PrimaryButton constructor

const PrimaryButton(
  1. {Key key,
  2. @required String buttonText,
  3. @required Function onPressed}
)

Implementation

const PrimaryButton({Key key, @required this.buttonText, @required this.onPressed})
    : super(key: key);