Calculator App

Features

  • Calculator
  • History
  • Switch Theme (Dark and Light) by App 🔥

📸 Example Android

               

📸 Example iOS

               

Quick start

This mobile app made with Flutter v3.10.6. You should follow the instructions in the official documentation. This project uses BLoC (business logic component) to separate the business logic with UI itself. It’s recommended to do self-study about it before jumping into the project here.

Built With 🛠

Package Pub
collection pub package
equatable pub package
flutter_bloc pub package
hydrated_bloc pub package
material_design_icons_flutter pub package
math_expressions pub package
path_provider pub package
url_launcher pub package
build_runner pub package
flutter_gen_runner pub package
flutter_lints pub package

How To Run:

  1. Clone this project.
  2. Open with your favorite tools editor.
  3. Run pub get on root project to generated pubspec.lock file.
  4. Run the App using this. Enjoy!

Run The App with Command

flutter run --dart-define appName='Calculator' --target=lib/main.dart

Example APK

Difficult to run this project? I have included .apk for those of you who want to try. Enjoy!

Flutter Gen:

Generate every time you add or remove assets

flutter packages pub run build_runner build

Author

  • Muhamad Bagus Prasetyo

Don’t forget to follow me, fork and give me a ⭐

License

MIT License

Copyright (c) 2023 Muhamad Bagus Prasetyo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

GitHub

View Github