ChalonaAndroidApp<T extends ChalonaSession> constructor
ChalonaAndroidApp<T extends ChalonaSession> ({
- required String name,
- required String title,
- required String host,
- required T session,
- required Map<
String, Widget Function(BuildContext)> routes, - Widget splash(
- BuildContext context
- Widget login(
- BuildContext context
- Widget onErrorLoading(
- BuildContext context
- void onSuccess(
- BuildContext context,
- String msg
- void onError(
- BuildContext context,
- String msg
Implementation
ChalonaAndroidApp({
required String name,
required String title,
required String host,
required super.session,
required super.routes,
super.splash,
super.login,
super.onErrorLoading,
super.onSuccess,
super.onError,
}) : super(
name: name,
title: title,
host: host,
wsConnect: () => ChalonaSocketIOConnect(host),
);