app_life 0.0.4 copy "app_life: ^0.0.4" to clipboard
app_life: ^0.0.4 copied to clipboard

Native lifecycle functions that support iOS and Android, different from WidgetBindings that come with Flutter

example/lib/main.dart

import 'package:app_life_example/with_test.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: WithTestPage());
  }
}
2
likes
115
pub points
14%
popularity

Publisher

unverified uploader

Native lifecycle functions that support iOS and Android, different from WidgetBindings that come with Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on app_life