A simple Flutter application created as a learning exercise for Flutter and Dart. This app demonstrates fundamental concepts such as widgets, state management, and asset handling.
The app displays an image from a predefined set of images included in the assets. There is a button below the image, and pressing it changes the displayed image to another random one from the set. The background features a pleasant gradient.
- Displays an image from local assets.
- Changes the image randomly on a button press.
- Built with a
StatefulWidgetto manage the state of the image being displayed. - Features a simple UI with a gradient background and styled text.
This project was developed to practice and understand the basics of Flutter development, including:
- Creating and using widgets.
- Managing state with
StatefulWidget. - Handling user input with
TextButton. - Including and loading image assets.
- Basic UI styling.
- Prerequisites: Make sure you have the Flutter SDK installed.
- Clone the repository or download the source code.
- Install dependencies by running the following command in the project's root directory: