Creating a Calculator App Using Flutter

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 ๐Ÿ› 

PackagePubcollectionpub packageequatablepub packageflutter_blocpub packagehydrated_blocpub packagematerial_design_icons_flutterpub packagemath_expressionspub packagepath_providerpub packageurl_launcherpub packagebuild_runnerpub packageflutter_gen_runnerpub packageflutter_lintspub 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

Description of the image

Related Posts