playx_widget 0.0.1 playx_widget: ^0.0.1 copied to clipboard
Playx Package that contains utility widgets.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add playx_widget
With Flutter:
$ flutter pub add playx_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
playx_widget: ^0.0.1
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:playx_widget/exports.dart';
import 'package:playx_widget/widgets/app_version.dart';
import 'package:playx_widget/widgets/center_loading.dart';
import 'package:playx_widget/widgets/icon_viewer.dart';
import 'package:playx_widget/widgets/image_viewer.dart';
import 'package:playx_widget/widgets/keep_alive_wrapper.dart';
import 'package:playx_widget/widgets/optimized_scroll_view.dart';