main function

void main()

Implementation

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  SystemChrome.setSystemUIOverlayStyle(
      const SystemUiOverlayStyle(statusBarColor: Colors.transparent));

  runApp(MyAppDynamic(
      coleccionAuth: Environment.coleccionUsuario,
      clientId: "YOUR_CLIENT_ID_HERE",
      clientSecret: "YOUR_CLIENT_SECRET_HERE",
      endpointApi: "YOUR_API_ENDPOINT_HERE",
      endpointAuth: "YOUR_AUTH_ENDPOINT_HERE",
      endpointSocket: "YOUR_SOCKET_ENDPOINT_HERE",
      redirectUri: RedirectUri.socket,
      originColeccion: Environment.originColeccion,
      coleccionFuncionesBackend: Environment.coleccionFuncionesBackend,
      title: 'Validacion de vida',
      soloColeccionesOrigen: false,
      lstVistasSistema: [...vistasSistema],
      lstRouteAdicionales: lstRutas,
      homePageBuilder: (child) => HomePage(child: child),
      rootRoute: inicio));
}