/web_app

A Mason for creating a Flutter Web App

Primary LanguageDartMIT LicenseMIT

web_app

Powered by Mason

Qoder Logo

(https://www.qoder.in)

Overview

Qoder's Mason brick streamlines the process of creating a fully functional Flutter web application with minimal user input. By simply answering a few questions, users can:

  • Generate a New Flutter Project: Automatically set up a new Flutter project, complete with necessary dependencies and a configured web environment.
  • Customize Native Splash and Launcher Icon: Users can provide a PNG logo, which will be used to set up a native splash screen and launcher icon for the app, ensuring a consistent brand presence.
  • Integrate Firebase with Remote Config: Simplify Firebase setup within the project, including Firebase Remote Config integration. A base URL is configured and monitored for live changes, enabling dynamic updates directly from Firebase without redeploying the app.

This Mason brick is designed to save developers time and effort, allowing them to focus on building features while we handle the boilerplate setup.

What's Included ✨

  • Flutter Project Initialization: Create a new Flutter project with pre-configured settings tailored to your needs.
  • Dependency Management: Add essential dependencies to ensure your project is ready to go, with support for web and mobile platforms.
  • Native Splash and Launcher Icon: Automatically generate and apply a splash screen and launcher icon using your provided PNG logo.
  • Firebase Integration: Set up Firebase in your project and integrate Firebase Remote Config with a default base_url key that listens for live changes.

Project Structure 📦

├── android/
├── assets/
│   ├── loading.json
│   └── logo.png
├── build/
├── ios/
├── lib/
│   ├── core/
│   │   ├── app_constants.dart
│   ├── presentation/
│   │   ├── screens
│   │   │   ├── web_view_screen.dart
│   ├── main.dart
├── linux/
├── macos/
├── test/
│   ├── widget_test.dart
├── web/
├── windows/
├── analysis_options.yaml
├── pubspec.yaml
└── README.md

## Notes for macOS and Linux Users 📝

Before using this Mason brick on macOS or Linux, please ensure you have the following tools installed:

1. **Zenity**: Required for file selection dialogs.
   - **macOS**: You can install `zenity` using Homebrew:
     ```bash
     brew install zenity
     ```
   - **Linux**: You can install `zenity` using APT (for Ubuntu/Debian):
     ```bash
     sudo apt-get install zenity
     ```

2. **Subversion (svn)**: Required for Mason and version control purposes.
   - **macOS**: You can install `svn` using Homebrew:
     ```bash
     brew install svn
     ```
   - **Linux**: You can install `svn` using APT (for Ubuntu/Debian):
     ```bash
     sudo apt-get install subversion
     ```

Make sure these dependencies are installed before running the Mason brick to avoid any issues during project setup.