enif 0.5.4 copy "enif: ^0.5.4" to clipboard
enif: ^0.5.4 copied to clipboard

Automate business operations, boost business growth and increase customer satisfaction with streamlined automation.

Automate business operations, boost business growth and increase customer satisfaction with streamlined automation.

Get Started

Try a demo

Features #

Knowledge Base

Getting started #

Head to Enif Website to create an account.

Usage #

Check the example folder for demo, click here for live demo

Initialize your business ID, and specify environment

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
 EnifController.setBusinessId("YOUR_BUSINESS_ID", Env.dev);

  runApp(const MyApp());
}

you can set user params to automatically login user
EnifController.setUser(EnifUserParams(
      firstName: "Sade",
      lastName: "Oluchi",
      phoneNo: "0803000000",
      email: "sade@enif.com"));

##### you can set deviceToken params to automatically add device token and receive push notifications

```dart
EnifController.setDeviceToken(
      "cft5xLfER0i4PeRZEupqqp:APA91bFmWW0LuTYF7dbAm7bxEMUGkUWE8hKilLA6HTdFHu-vCTQeYCRunXkPJBnzLk3Bh27VRGCIkM3M2U7SmQHsbkK7W3Kns4kQSoG6ZhSQHU2ihjcpFSASBxeoZ3Ff6cJSGu4FIsRC"
      );


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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Enif Chat Bot',
      themeMode: ThemeMode.system,
      theme: ThemeData.light(),
      darkTheme: ThemeData.dark(),
      home: const EnifHome(showBackButton: false),
    );
  }
}

Additional information #

3
likes
70
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

Automate business operations, boost business growth and increase customer satisfaction with streamlined automation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

data_repository, flutter, flutter_animate, flutter_html, flutter_link_previewer, flutter_svg, http, image_picker, shared_preferences, url_launcher

More

Packages that depend on enif