pr_widget 0.0.7+2 pr_widget: ^0.0.7+2 copied to clipboard
Pr Widget is customize widget for speed up development with custom StreamBuilder and Widget Component relate with api respose.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pr_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
pr_widget: ^0.0.7+2
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:pr_widget/service/stream/base_stream_provider.dart';
import 'package:pr_widget/utils/page_navigate.dart';
import 'package:pr_widget/widget/future_widget.dart';
import 'package:pr_widget/widget/pagination_widget.dart';
import 'package:pr_widget/widget/stream_widget.dart';