Flutter SDK

This Flutter SDK allows you to seamlessly integrate UIStream workflows into your applications. With UIStream, you can empower your users to interact with Decentro's powerful features while maintaining a near-native experience.

Getting Started

  1. Installation: Add the Decentro UIStream SDK to your pubspec.yaml file:

    dependencies:
      decentro_uistream: ^1.0.0
    
  2. Usage:

    Generate UIStream Session link as documented here.

    Use the following snippets as guides to add UIStream to your Flutter app.

    import 'package:decentrotech_fabric/decentrotech_fabric.dart';
    
    // Initialize UIStream Screen
     UIStreamWebView(
       uistreamUrl: "<uistream_session_link>",
     );
    
    // Configure UIStream Route
    onGenerateRoute: (RouteSettings routeSettings) {
     return MaterialPageRoute<void>(
         settings: routeSettings,
         builder: (BuildContext context) {
             switch (routeSettings.name) {
                 case "/<uistream_route>":
                     return UIStreamWebView(
                         uistreamUrl: "<uistream_session_link>",
                     );
                 default:
                     return DefaultScreen()
             }
         }
     )
    }
    
  3. API Documentation: Explore the detailed UIStreams documentation for more information.