Skip to content

Instantly share code, notes, and snippets.

@CodingWithTashi
Created March 20, 2022 10:33
Show Gist options
  • Save CodingWithTashi/c1fe1927496befca76c1a2aacabafde5 to your computer and use it in GitHub Desktop.
Save CodingWithTashi/c1fe1927496befca76c1a2aacabafde5 to your computer and use it in GitHub Desktop.
return ChangeNotifierProvider<CounterProvider>(
create: (context) => CounterProvider(),
child: MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment