enif 0.1.0
enif: ^0.1.0 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.
Features #
Knowledge Base
Getting started #
Head to Enif Website to create an account.
Usage #
Check the example folder for demo.
Initialize your business ID
void main() async {
WidgetsFlutterBinding.ensureInitialized();
EnifController.setBusinessId("YOUR_BUSINESS_ID");
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"));
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),
);
}
}