Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Widget build(BuildContext context) {
return Scaffold(
appBar: buildAppBar(appBarTitle: title),
body: Center(
child: ElevatedButton(
style: getBtnStyle(context),
child: const Text('Set badge no'),
onPressed: () => setBadgeNum(5, context),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment