Giter Site home page Giter Site logo

m-essam-s / base_converter Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 481 KB

The Base Converter is a cross-platform mobile application developed using Flutter. It allows users to convert numbers between different numeral systems including Binary, Decimal, Hexadecimal, and Octal. The app supports both light and dark themes, providing a user-friendly interface for seamless convers

Kotlin 0.17% Swift 2.35% Objective-C 0.05% Dart 34.93% CMake 26.48% C++ 32.39% C 1.94% HTML 1.68%
binary hexadecimal octal decimals desktop-development flutter mobile-development web-de

base_converter's Introduction

Base Converter App

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.

Features

  • 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.

Screenshots

Mobile View

Light Theme Dark Theme
Mobile View Light Mobile View Dark

Tablet View

Light Theme Dark Theme
Tablet View Tablet View

Desktop View

Light Theme
Desktop View
Dark Theme
Desktop View

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/base_converter_app.git
    cd base_converter_app
  2. Install dependencies:

    flutter pub get
  3. Run the app:

    flutter run

Usage

  1. Enter the number you want to convert in the input field.
  2. Select the base of the input number from the "Convert From" dropdown.
  3. Select the base you want to convert the number to from the "Convert To" dropdown.
  4. The converted number will be displayed below the dropdowns.

File Structure

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

Models

binary.dart

Functions to convert binary numbers to other bases and vice versa.

decimal.dart

Functions to convert decimal numbers to other bases and vice versa.

hexadecimal.dart

Functions to convert hexadecimal numbers to other bases and vice versa.

octal.dart

Functions to convert octal numbers to other bases and vice versa.

Themes

theme_notifier.dart

Notifier class to toggle between dark and light themes.

Widgets

converter_widget.dart

Main widget that contains the UI and logic for base conversion.

Contributing

Contributions are welcome! Please fork the repository and use a feature branch. Pull requests are warmly welcome.

Acknowledgments

base_converter's People

Contributors

m-essam-s avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.