Skip to content

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.

Notifications You must be signed in to change notification settings

OneHeaded/Image_Flipper

Repository files navigation

Image Flipper

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.

Description

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.

Features

  • Displays an image from local assets.
  • Changes the image randomly on a button press.
  • Built with a StatefulWidget to manage the state of the image being displayed.
  • Features a simple UI with a gradient background and styled text.

Purpose

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.

How to Run

  1. Prerequisites: Make sure you have the Flutter SDK installed.
  2. Clone the repository or download the source code.
  3. Install dependencies by running the following command in the project's root directory:

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published