genuin_sdk 1.0.1 copy "genuin_sdk: ^1.0.1" to clipboard
genuin_sdk: ^1.0.1 copied to clipboard

Genuin SDK comprises features such as brand feed, communities, and groups.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:genuin_sdk/genuin_carousel_embed_view.dart';

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Column(
          children: [
            SizedBox(
              height: 300,
              width: MediaQuery.of(context).size.width,
              child: const Carousel(
                embedId: "YOUR_EMBED_ID",
                uniqueId: "UNIQUE_ID",
                ssoToken: "YOUR_SSO_TOKEN",
                isShowProfileEnabled: false,
                isDirectDeepLinkEnabled: false,
              ),
            )
          ],
        ),
      ),
    );
  }
}
0
likes
140
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

Genuin SDK comprises features such as brand feed, communities, and groups.

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on genuin_sdk

Packages that implement genuin_sdk