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.
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.
- 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.
Ensure you have the following installed on your machine:
- Flutter SDK (version 3.19.4)
- FVM (Flutter Version Management)
- Dart SDK
-
Clone the Repository
git clone https://github.com/KasunHasanga/flutter-server-driven-ui/.git cd flutter-server-driven-ui
-
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
-
Install Dependencies
fvm flutter pub get
-
Run the App
fvm flutter run
This project is licensed under the MIT License. See the LICENSE file for details. ---