Dev-Adnani / Calculator-App-Flutter

Home Page:https://www.youtube.com/playlist?list=PLLX5PyzD9tT3s1deefgOxQUz4nLfWTQ8q

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter Calculator App

Features

  • Perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
  • Evaluate complex mathematical expressions using the math_expressions package.
  • Save calculation history locally using Hive, a lightweight and fast key-value database.

Dependencies

  • backdrop: A Flutter widget that implements the Material Design backdrop component.
  • hive: A lightweight and blazing fast key-value database for Flutter.
  • hive_flutter: Hive database integration for Flutter applications.
  • math_expressions: Parse and evaluate mathematical expressions given as strings.

Installation

  1. Clone this repository to your local machine:

git clone https://github.com/Dev-Adnani/Calculator-App-Flutter

  1. Navigate to the project directory:

cd flutter_calculator_app

  1. Install dependencies using Flutter's package manager, pub:

flutter pub get

  1. Run the app on a connected device or emulator:

flutter run

Usage

  • Upon launching the app, you'll see a calculator interface where you can input mathematical expressions.
  • Perform calculations by tapping on the buttons for numbers and operators.
  • Use the equal sign button (=) to evaluate the expression.
  • View your calculation history by navigating to the history screen.
  • Calculation history is saved locally using Hive, allowing you to access previous calculations even after closing the app.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.

About

https://www.youtube.com/playlist?list=PLLX5PyzD9tT3s1deefgOxQUz4nLfWTQ8q


Languages

Language:C++ 34.2%Language:CMake 28.8%Language:Dart 24.9%Language:Ruby 4.2%Language:Swift 2.7%Language:HTML 2.7%Language:C 2.1%Language:Kotlin 0.2%Language:Objective-C 0.1%