Posts by Junior Maia • 3 points
1 post
-
-2
votes1
answer175
viewsQ: The method 'setState' isn’t defined for the type 'Myapp'
I’m starting in flutter, but I came across this mistake in setState. Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar( title: Text('Horímetro'), ), body:…