Merge pull request 'dev' (#22) from dev into master

Reviewed-on: #22
This commit is contained in:
fanantenana 2025-02-06 11:44:17 +00:00
commit 183645bbfc

View File

@ -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<MyHomePage> {
// 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;
});
}