feat: Init counter value to 1
All checks were successful
versioning-and-changelog / versioning_and_changelog (pull_request) Successful in 18s
All checks were successful
versioning-and-changelog / versioning_and_changelog (pull_request) Successful in 18s
This commit is contained in:
parent
e00990c644
commit
0a46c302b4
@ -31,7 +31,7 @@ class MyHomePage extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _MyHomePageState extends State<MyHomePage> {
|
class _MyHomePageState extends State<MyHomePage> {
|
||||||
int _counter = 0;
|
int _counter = 1;
|
||||||
|
|
||||||
void _incrementCounter() {
|
void _incrementCounter() {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user