Skip to content

Instantly share code, notes, and snippets.

Last active March 31, 2021 04:32
What would you like to do?
Provider Architecture example
import 'package:flutter/material.dart';
import 'counter_screen.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
home: CounterScreen(),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment