Skip to content

TharuHiru/flutter_calculator_project

Repository files navigation

Flutter Calculator App

Overview

The Flutter Calculator App is a simple and intuitive mobile application built using Flutter. It provides users with basic arithmetic operations and a clean, responsive user interface.

Demo Links

Ios demo link https://youtu.be/1Zkm-BlqL3I?si=VI_BhJpEutaBGJEo

Android Demo link https://youtu.be/Mzc2Wna38Sc?si=HsFZESJyNHsCoJ_T

Features

  • Perform basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Advanced functions: square root, percentage calculations, and support for brackets.
  • Delete and clear screen functionality.
  • History of previous calculations.
  • Support for decimal points in calculations.
  • Dark theme for comfortable usage in low-light conditions.
  • Real-time calculation display.
  • Responsive design suitable for various screen sizes.
  • Easy-to-use interface with a modern design.
  • Button vibrations for enhanced user feedback.
  • Continuous math: supports continuous calculations with real-time updates on the display.
  • Error handling: displays error messages for invalid inputs such as divide by zero or syntax errors.

Screenshots

image        image

Requirements

  • Flutter SDK: Version 3.0 or later
  • Dart: Version 2.17 or later
  • Compatible with both Android and iOS devices

Installation

  1. Clone the Repository

    git clone https://github.com/yourusername/flutter-calculator.git
    cd flutter-calculator
  2. Install Dependencies

    Run the following command to install all required dependencies:

    flutter pub get
  3. Run the Application

    Use the following command to run the app on an emulator or connected device:

    flutter run

Usage

  1. Launch the app on your device or emulator.
  2. Use the number pad and operator buttons to perform calculations.
  3. Access advanced functions like square root, percentage, and brackets as needed.
  4. View the result in real-time on the screen.
  5. Use the history feature to review previous calculations.

Customization

Feel free to modify the UI and features to suit your needs. The app's modular design makes it easy to extend and enhance.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-name.
  3. Commit your changes: git commit -m 'Add new feature'.
  4. Push to the branch: git push origin feature-name.
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

This is a calculator app developed using Flutter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published