harsh_shandilya_ci_test_package 0.0.0 copy "harsh_shandilya_ci_test_package: ^0.0.0" to clipboard
harsh_shandilya_ci_test_package: ^0.0.0 copied to clipboard

discontinued
PlatformAndroidiOS

Repackage of Dyte's Flutter UI Kit purely for testing CI CD pipeline

example/lib/main.dart

import 'package:device_preview/device_preview.dart';
import 'package:harsh_shandilya_ci_test_package/dyte_uikit.dart';
import 'package:example/meeting_page.dart';
import 'package:example/secret.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    DevicePreview(
      enabled: false,
      builder: (context) => const MyApp(),
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: HomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: MaterialButton(
          color: Colors.black,
          onPressed: () {
            Navigator.push(
              context,
              MaterialPageRoute(builder: (context) {
                return DyteMeetingPage(
                  meetingInfo: DyteMeetingInfoV2(
                    authToken: hostAuthToken,
                    // roomName: roomName,
                  ),
                );
              }),
            );
            // DyteUIKit.loadUI();
          },
          child: const Text(
            "Load UIKit",
            style: TextStyle(color: Colors.white),
          ),
        ),
      ),
    );
  }
}
0
likes
120
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Repackage of Dyte's Flutter UI Kit purely for testing CI CD pipeline

Homepage

License

MIT (license)

Dependencies

dyte_core, dyte_icons, file_picker, flutter, flutter_file_downloader, flutter_riverpod, get_it

More

Packages that depend on harsh_shandilya_ci_test_package