diff --git a/lib/main.dart b/lib/main.dart index 8e94089..12c15af 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -28,7 +28,7 @@ class MyApp extends StatelessWidget { // // This works for code too, not just values: Most code changes can be // tested with just a hot reload. - colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), + colorScheme: ColorScheme.fromSeed(seedColor: Colors.orange), useMaterial3: true, ), home: const MyHomePage(title: 'Flutter Demo Home Page'), @@ -64,7 +64,7 @@ class _MyHomePageState extends State { // so that the display can reflect the updated values. If we changed // _counter without calling setState(), then the build method would not be // called again, and so nothing would appear to happen. - _counter++; + _counter = _counter + 2; }); }