Skip to content

Installation

Get DWallet up and running on your local machine in minutes.

Before you begin, ensure you have the following installed:

  • Flutter SDK: 3.41.0 or later (Stable channel)
  • Dart SDK: 3.10.0 or later (included with Flutter)
  • IDE: VS Code or Android Studio with Flutter/Dart plugins installed
  1. Extract the downloaded package to your desired location.

  2. Navigate to the project directory:

    Terminal window
    cd dwallet_ui
  3. Install Dependencies: Run the following command to fetch all required packages:

    Terminal window
    flutter pub get
  4. Generate Required Code (mandatory): This project uses AutoRoute for type-safe routing, which requires a one-time code generation step:

    Terminal window
    dart run build_runner build --delete-conflicting-outputs
  5. Run the App: Choose your target device (Android/iOS Simulator) and run:

    Terminal window
    flutter run

The app uses a clean architecture with the following structure:

/lib
├── main.dart # App entry point
└── /app
├── /core # Core utilities
├── /di # Dependency injection
│ └── /services # Service providers
├── /pages # UI pages
├── /providers # State providers
├── /router # Navigation
└── /widgets # Reusable widgets
/packages/dwallet_types # Local data package

If the app launches successfully and you see the onboarding screen, you’re all set!

Ready to publish your app? Follow the Publishing Preparation Guide to:

  • Change your package name and bundle ID using change_app_package_name
  • Update the app name using rename_app
  • Customize the app icon using flutter_launcher_icons

These CLI tools are already included in the project’s dev_dependencies for your convenience.