open_widgets 0.2.0 open_widgets: ^0.2.0 copied to clipboard
A package that implements widgets for mobile and web.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add open_widgets
With Flutter:
$ flutter pub add open_widgets
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
open_widgets: ^0.2.0
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:open_widgets/logger.dart';
import 'package:open_widgets/navigator/drawer.dart';
import 'package:open_widgets/navigator/open_mobile_navigator.dart';
import 'package:open_widgets/navigator/open_web_navigator.dart';
import 'package:open_widgets/navigator/utils.dart';