flutter_plugin_android_lifecycle 2.0.24 copy "flutter_plugin_android_lifecycle: ^2.0.24" to clipboard
flutter_plugin_android_lifecycle: ^2.0.24 copied to clipboard

PlatformAndroid

Flutter plugin for accessing an Android Lifecycle within other plugins.

example/lib/main.dart

// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

/// MyApp is the Main Application.
class MyApp extends StatelessWidget {
  /// Default Constructor
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Sample flutter_plugin_android_lifecycle usage'),
        ),
        body: const Center(
            child: Text(
                'This plugin only provides Android Lifecycle API\n for other Android plugins.')),
      ),
    );
  }
}
101
likes
160
points
3.01M
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

Flutter plugin for accessing an Android Lifecycle within other plugins.

Repository (GitHub)
View/report issues
Contributing

Topics

#android #plugin-development

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_plugin_android_lifecycle