lenra_client 2.1.0 copy "lenra_client: ^2.1.0" to clipboard
lenra_client: ^2.1.0 copied to clipboard

Create your Flutter application with a Lenra backend. Add a LenraApplication at the base of your app and you can use the LenraView widget in your app.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lenra_client

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  lenra_client: ^2.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lenra_client/application.dart';
import 'package:lenra_client/oauth2.dart';
import 'package:lenra_client/route.dart';
import 'package:lenra_client/socket.dart';
import 'package:lenra_client/socket_helper_io.dart';
import 'package:lenra_client/socket_helper_stub.dart';
import 'package:lenra_client/socket_helper_web.dart';
import 'package:lenra_client/view.dart';
import 'package:lenra_client/widgets.dart';
2
likes
125
points
86
downloads

Publisher

verified publisherlenra.io

Weekly Downloads

Create your Flutter application with a Lenra backend. Add a LenraApplication at the base of your app and you can use the LenraView widget in your app.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, json_patch, logging, oauth2_client, phoenix_wings, url_launcher

More

Packages that depend on lenra_client