flutter_lifecycle_base 1.0.5 copy "flutter_lifecycle_base: ^1.0.5" to clipboard
flutter_lifecycle_base: ^1.0.5 copied to clipboard

It provides the function of life cycles.In addition to the original life cycle of the system, it also provides additional life cycle methods

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_lifecycle_base

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_lifecycle_base: ^1.0.5

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:flutter_lifecycle_base/base_state_widget.dart';
import 'package:flutter_lifecycle_base/base_stateless_widget.dart';
import 'package:flutter_lifecycle_base/buildConfig.dart';
import 'package:flutter_lifecycle_base/navigator_manager.dart';
import 'package:flutter_lifecycle_base/tab/base_tab_page_widget.dart';
import 'package:flutter_lifecycle_base/tab/base_tab_widget.dart';
import 'package:flutter_lifecycle_base/tab/pageview_widget.dart';
import 'package:flutter_lifecycle_base/tab/tab_navigator_manager.dart';
import 'package:flutter_lifecycle_base/widget/status_bar_wrap.dart';
3
likes
40
pub points
0%
popularity

Publisher

unverified uploader

It provides the function of life cycles.In addition to the original life cycle of the system, it also provides additional life cycle methods

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_lifecycle_base