Skip to content

Instantly share code, notes, and snippets.

@vijayinyoutube
Created October 26, 2022 06:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vijayinyoutube/344b7e0918bdbe096b100d637ef80a19 to your computer and use it in GitHub Desktop.
@override
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