pdui_flutter 0.0.1 copy "pdui_flutter: ^0.0.1" to clipboard
pdui_flutter: ^0.0.1 copied to clipboard

A SDUI library for the brave

PDUI Flutter #

[This is the mobile side library of the best SDUI Library!] PDUI Github

To install this library on your Flutter app add this to you pubspec.yaml:

dependencies:
    pdui_flutter: 0.0.1

Then run flutter pub get to download the library

Getting started #

You just need to use the PduiHome widget wherever you want on your application. If you want PDUI controlling youe whole app your main.dart will look like this:

import 'package:flutter/material.dart';
import 'package:pdui_flutter/widgets/pdui_home.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'PDUI Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
      ),
      home: PDUIHome(
        title: "PDUI App",
        rootExpressionId: "home", //Don't forget to register this rounte on your server
        useCache: false, // true if you want to use it, remember to have a redis cache running on the default port
      ),
    );
  }
}

You should be good to go, now build the most incredible screen on your server!!!

0
likes
100
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A SDUI library for the brave

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_secure_storage, http, protobuf

More

Packages that depend on pdui_flutter