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

iready_client

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:get/get.dart';
import 'package:iready_client/iready_client.dart';

import 'app/routes/app_pages.dart';

Future<void> main() async {
  await initIReadyClient();
  await initServices();
  runApp(
    GetMaterialApp(
      title: "Application",
      initialRoute: AppPages.INITIAL,
      getPages: AppPages.routes,
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
      ),
    ),
  );
}

Future<void> initServices() async {
  try {
    await Get.putAsync(() => IReadyService().init());
  } catch (e, st) {
    debugPrintStack(stackTrace: st, label: 'initServices Error');
  }
}
0
likes
130
pub points
0%
popularity

Publisher

unverified uploader

iready_client

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

event_bus, flutter, get, get_storage, json_annotation, mqtt_client, uuid

More

Packages that depend on iready_client