/dice

another practice on flutter apps role dice by change the photo when click a button

Primary LanguageDart

App Brewery Banner

Dicee 🎲

Our Goal

The objective of this tutorial is to introduce you to the core programming concepts that will form the foundation of most of the apps you’ll build in the future. This app will teach you how to make apps with functionality using setState() inside Stateful Flutter widgets.

What you will create

We’re going to make a Las Vegas dice app. You can make the die roll at the press of a button. With this app in your pocket, you’ll be able to settle any score on the go!

Finished App

What you will learn

  • How to use Flutter stateless widgets to design the user interface.
  • How to use Flutter stateful widgets to update the user interface.
  • How to change the properties of various widgets.
  • How to use onPressed listeners to detect when buttons are pressed.
  • How to use setState to mark the widget tree as dirty and requiring update on the next render.
  • How to use Expanded to make widgets adapt to screen dimensions.
  • Understand and use string interpolation.
  • Learn about basic dart programming concepts such as data types and functions.
  • Code and use gesture controls.

This is a companion project to The App Brewery's Complete Flutter Development Bootcamp, check out the full course at www.appbrewery.co

End Banner