Rolling Dice


About The Project

This is just a simple Dice Rolling app built for the tutorial purpose


NOTE:

Its better to mention full path in Image asset like:

AssetImage('assets/images/dice-png-$rightDiceNumber.png')

otherwise if you metion like:

AssetImage('images/dice-png-$rightDiceNumber.png')

then this will work fine on browser but will cause error in emulator.


Built With

  • Flutter

  • Dart


Getting Started

This project is a starting point for a Flutter application.

To get a local copy up and running follow these simple steps

Use the flutter run command to run your Flutter app on a connected device or simulator.

To run your app from the command-line:

Open a terminal and change directories to the root of your app

Run the following command. Once the flutter tool is running,

if you change the app’s source code, you can hit r to hot-reload your application

$ cd myapp

$ flutter run

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view Flutter documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Reference Links: https://api.flutter.dev/flutter/animation/Curves-class.html

https://pub.dev/packages/animate_do

Reference Link for image: https://www.cleanpng.com/png-shake-dice-three-dices-white-geometric-dice-254203/