Bengali Numeric Calculator, in short, BN Calculator is designed with a custom neumorphic button class, with a custom button press sound, that imitates the sound of a physical calculator. In addition to that, it has a beautiful dark theme, and a user can turn On/Off the dark theme using a custom animated button on the AppBar.
**Note: It's an open-source project; hence anyone can use this code according to the MIT License rules & regulations.
In addition, this calculator is using some other third-party packages from the open-source community. Thanks to those open-source developers for their amazing packages, and those packages are:
# For state-management
provider: ^6.0.2
# For modern neumorphic containers
clay_containers: ^0.3.2
# For animated switch to activate dark/light mode
day_night_switcher: ^0.2.0+1
# For playing 'button click' sound
audioplayers: ^0.20.1
# For executing mathematical operations
math_expressions: ^2.3.0
# For number formatting
intl: ^0.17.0
Light Mode | Dark Mode |
---|---|
lib/
├── app/
│ ├── provider/
│ │ ├── history_provider.dart
│ │ ├── sound_provider.dart
│ │ └── theme_provider.dart
│ ├── static/
│ │ └── button.dart
│ ├── view/
│ │ ├── calculator.dart
│ │ └── history.dart
│ └── widget/
│ ├── util/
│ │ └── arrow_clipper.dart
│ ├── button_widget.dart
│ ├── dropdown_menu.dart
│ └── top_appbar.dart
└── main.dart