general_lib 0.0.45 general_lib: ^0.0.45 copied to clipboard
All in one library for help you make easy app on cross platform and support server side, inclue tcp, fetch, event emitter, websocket, and more.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate general_lib
Use it
The package has the following executables:
$ general_lib
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add general_lib
With Flutter:
$ flutter pub add general_lib
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
general_lib: ^0.0.45
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:general_lib/general_lib.dart';