flutter_fgbg_module 1.0.0 flutter_fgbg_module: ^1.0.0 copied to clipboard
This is a module that notifies you when the app goes into the background or comes to the foreground
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_fgbg_module
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_fgbg_module: ^1.0.0
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_fgbg_module/main.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/build_app_widget/build_material_app/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/build_app_widget/build_material_app/flutter_fgbg_module/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/build_app_widget/build_my_app/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/build_app_widget/build_my_app/flutter_fgbg_module/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/build_app_widget/build_run_app/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/build_app_widget/build_run_app/flutter_fgbg_module/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/after_material_app/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/after_material_app/flutter_fgbg_module/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/before_material_app/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/before_material_app/flutter_fgbg_module/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/before_run_app/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/before_run_app/flutter_fgbg_module/_.dart';
import 'package:flutter_fgbg_module/util/_/initial_app/ready_functions/before_run_app/widgets_binding/_.dart';
import 'package:flutter_fgbg_module/util/_/shared_params/_/go_router.dart';
import 'package:flutter_fgbg_module/util/_/shared_params/_/material_app.dart';
import 'package:flutter_fgbg_module/util/_/shared_params/_/start_app_params.dart';
import 'package:flutter_fgbg_module/util/_/shared_params/_/widgets_binding.dart';
import 'package:flutter_fgbg_module/util/config/_/global_imports.dart';
import 'package:flutter_fgbg_module/util/config/_/init_view.dart';
import 'package:flutter_fgbg_module/util/config/_/router/_/_.dart';
import 'package:flutter_fgbg_module/util/usage/flutter_fgbg_module/usage.dart';