lenra_client 1.0.0-test.4
lenra_client: ^1.0.0-test.4 copied to clipboard
Official Lenra lib to create custom client apps in Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add lenra_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
lenra_client: ^1.0.0-test.4Alternatively, 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';