Base Converter App is a Flutter application that allows users to convert numbers between different bases: Decimal, Binary, Hexadecimal, and Octal. It features a clean, professional UI, supports dark and light themes, and is responsive across various devices, including mobile phones, tablets, and desktops.
- Base Conversion: Convert numbers between Decimal, Binary, Hexadecimal, and Octal.
- Responsive Design: Optimized for different screen sizes, including mobile, tablet, and desktop.
- Dark/Light Theme: Toggle between dark and light modes.
- User-Friendly Interface: Intuitive and clean UI for a seamless user experience.
Light Theme | Dark Theme |
---|---|
Light Theme | Dark Theme |
---|---|
Light Theme |
---|
Dark Theme |
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- Flutter SDK
- Android Studio or Visual Studio Code with Flutter and Dart plugins
-
Clone the repository:
git clone https://github.com/your-username/base_converter_app.git cd base_converter_app
-
Install dependencies:
flutter pub get
-
Run the app:
flutter run
- Enter the number you want to convert in the input field.
- Select the base of the input number from the "Convert From" dropdown.
- Select the base you want to convert the number to from the "Convert To" dropdown.
- The converted number will be displayed below the dropdowns.
base_converter_app/
├── lib/
│ ├── models/
│ │ ├── binary.dart
│ │ ├── decimal.dart
│ │ ├── hexadecimal.dart
│ │ ├── octal.dart
│ ├── themes/
│ │ ├── theme_notifier.dart
| | ├── theme.dart
| ├── widgets/
│ | ├── converter_widget.dart
│ ├── main.dart
└── pubspec.yaml
Functions to convert binary numbers to other bases and vice versa.
Functions to convert decimal numbers to other bases and vice versa.
Functions to convert hexadecimal numbers to other bases and vice versa.
Functions to convert octal numbers to other bases and vice versa.
Notifier class to toggle between dark and light themes.
Main widget that contains the UI and logic for base conversion.
Contributions are welcome! Please fork the repository and use a feature branch. Pull requests are warmly welcome.