karee 2.2.3+5 copy "karee: ^2.2.3+5" to clipboard
karee: ^2.2.3+5 copied to clipboard

Another way to build Flutter applications for mobile, web and desktop using Karee Architecture.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:karee/core.dart';
import 'package:karee/widgets.dart';
import 'core/core.dart';

///
/// Author Champlain Marius Bakop
///
/// @Email [champlainmarius20@gmail.com](mailto://champlainmarius20@hotmail.com)
///
/// @Github [ChamplainLeCode](https://github.com/ChamplainLeCode)
///

void main() async {
  // Do not modify
  await initCore();
  runApp(MyKareeApp());

  //! Add your custom configurations
}

class MyKareeApp extends StatelessWidget {
  final sideMenuSelected = Of.tag(0, #sideMenu);

  @override
  Widget build(BuildContext context) {
    // Don't change this widget

    return KareeMaterialApp(
        kind: ApplicationKind.material,
        locale: Locale('fr'),
        supportedLocales: [Locale('en')],
        observables: [sideMenuSelected],

        /// This is the profile of your application on production
        /// replace KareeInstanceProfile.production by KareeInstanceProfile.development
        /// during development, to better manage error in your application
        profile: KareeInstanceProfile.development,

        /// When you are going to release your application, you need to turn
        /// your application profile to production and setup the error contact.
        /// You can also customize your application general error screen. And if
        /// you need you access to your error contact address use the static variable
        /// KareeMaterialApp.globalErrorContactAddress
        errorContactAddress: ErrorContactAddress(
          appName: 'Karee',
          appSupportEmail: 'champlainmarius20@mail.com',
          appVersion: 'v9.0.4',
        ),
        // locale: Locale('en'),
        // supportedLocales: [Locale('en'), Locale('fr')],
        // This represents your app's title
        title: 'Karee Sample App',
        debugShowCheckedModeBanner: true);
  }
}
6
likes
120
pub points
0%
popularity

Publisher

verified publisherflutter.bixterprise.com

Another way to build Flutter applications for mobile, web and desktop using Karee Architecture.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, karee_inject, yaml

More

Packages that depend on karee