Skip to content

This is the Flutter repository. Try to get some hands dirty with the Mirai package. It's a great package to work with Flutter server-driven UI.

License

Notifications You must be signed in to change notification settings

KasunHasanga/flutter-server-driven-ui

Repository files navigation

Server Driven UI Experiment with Flutter and Mirai

Welcome to the Server Driven UI experiment using Flutter and the Mirai package. This project explores the implementation of a server-driven UI approach, leveraging Flutter's flexibility and Mirai's capabilities.

Overview

This project is an experimental Flutter application that demonstrates the use of server-driven UI principles. The app fetches UI configurations from a server and dynamically builds the user interface based on the received data. We utilize the Mirai package to parse and render the UI components.

Features

  • Dynamic UI Rendering: Build user interfaces on the fly based on server responses.
  • Modular Components: Easily extendable components for various UI elements.
  • Live UI Updates: Reflect changes in UI without the need for app updates.
  • Flutter 3.19.4: Built using Flutter version 3.19.4 for the latest features and improvements.

Getting Started

Prerequisites

Ensure you have the following installed on your machine:

  • Flutter SDK (version 3.19.4)
  • FVM (Flutter Version Management)
  • Dart SDK

Installation

  1. Clone the Repository

    git clone https://github.com/KasunHasanga/flutter-server-driven-ui/.git
    cd flutter-server-driven-ui
    
  2. Install Flutter Version using FVM

    Ensure FVM is installed on your machine. If not, install it by following the FVM installation guide.

    fvm install 3.19.4 fvm use 3.19.4

  3. Install Dependencies

    fvm flutter pub get

Running the App

  1. Run the App

    fvm flutter run

License

This project is licensed under the MIT License. See the LICENSE file for details. ---

About

This is the Flutter repository. Try to get some hands dirty with the Mirai package. It's a great package to work with Flutter server-driven UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published