Rizwan Abbasi — Tech Enthusiast

  • Flutter
  • Portfolio
  • Login Secure
  • Github
  • Videos

Flutter StatefulWidget

State is data/information used by your App or widgets in our App. State can be things like username or in our case, index of the question we want to show. App State can be Authenticated Users Widget State can be Current User Input or which question is currently selected. StatefulWidget has some internal state which […]

Read More...
  • Flutter
|  flutter Flutter StatefulWidget flutter widgets stateful widget StatefulWidget

Flutter Need for StatefulWidget

Continuing from our last blog post “Flutter/Dart Anonymous Function” , in this post we have added a list of questions in build() for now, with only two questions. We have introduced a variable ‘questionIndex’ to keep track and change the question on the go. We increment this variable questionIndex in answerQuestion() function in MyApp class. […]

Read More...
  • Dart
  • Flutter
|  flutter Flutter Need for StatefulWidget StatefulWidget
Proudly powered by WordPress and Less Reloaded by Morteza Geransayeh
{{{"type":"anchor", "ring":"0", "page":"0"}}}