Pakete, Repositories und App-Kategorien suchen

Paketdetailsv2.0.35

flutter_plugin_android_lifecycle

Flutter-Plugin zum Zugriff auf einen Android-Lebenszyklus innerhalb anderer Plugins.

Android
30-Tage-Downloads
7,8 Mio.
Likes
120
Pub-Punkte
160

Paket installieren

flutter pub add flutter_plugin_android_lifecycle

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Plugin, das anderen Plugins den Zugriff auf den Android-Lebenszyklus ermöglicht, sodass sie angemessen auf Lebenszyklusereignisse wie onCreate, onStart, onResume, onPause, onStop und onDestroy reagieren können. Dies ist besonders nützlich für Plugins, die Ressourcen oder Zustände synchron zum Lebenszyklus der Host-Android-Aktivität verwalten müssen. Es bietet eine Brücke zwischen Flutter und nativen Android-Lebenszyklus-Rückrufen, um eine ordnungsgemäße Initialisierung und Bereinigung sicherzustellen.

Anwendungsfälle

  • Zugriff auf Android-Lebenszyklusereignisse in benutzerdefinierten Plugins
  • Verwaltung nativer Ressourcen basierend auf App-Zustand
  • Sicherstellen einer ordnungsgemäßen Bereinigung während Aktivitätsübergänge
  • Integration mit androidspezifischen Funktionen
  • Plugin-Verhalten mit Lebenszyklus der App synchronisieren
  • Unterstützung von Hintergrundverarbeitung im Zusammenhang mit Aktivitätszustand

Hauptmerkmale

  • Bietet Zugriff auf Android Activity-Lebenszyklusmethoden
  • Ermöglicht lebenszyklusbewusste Plugin-Entwicklung
  • Bietet Integration mit dem Plattformkanal von Flutter
  • Unterstützt Lebenszyklus-Ereignisrückrufe
  • Ermöglicht die Ressourcenverwaltung
  • Stellt Kompatibilität mit dem Android SDK sicher

Geeignet für

  • Entwickler, die Android-spezifische Flutter-Plugins erstellen
  • Plugins, die lebenszyklusbewusst sind
  • Native Android-Integrationsszenarien
  • Apps, die präzise Steuerung über Lebenszyklusereignisse benötigen
  • Plugin-Entwickler, die sich auf Android-Plattformen konzentrieren

Hinweise

  • Nur für die Android-Plattform
  • Erfordert Verständnis von Android-Lebenszyklus-Konzepten
  • Nicht erforderlich für reine Flutter- oder plattformübergreifende Anwendungsfälle
  • Kann zusätzlichen Boilerplate-Code im Plugin-Code erfordern
  • Abhängig von der korrekten Verwendung im Android-Plugin-Kontext

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

Flutter Packages

Release Status Flutter CI Status

This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages directory to see all packages.

These packages are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled "package".

Contributing

If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.

Packages

These are the packages hosted in this repository:

Package Pub Points Usage Issues Pull requests
animations pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
camera pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cross_file pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_icons pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
espresso pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
extension_google_sign_in_as_googleapis_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
file_selector pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_lints pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_plugin_android_lifecycle pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg_test pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router_builder pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_adsense pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_fonts pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_maps_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_sign_in pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
image_picker pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
interactive_media_ads pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
in_app_purchase pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
local_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
material_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
metrics_center pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_parsing pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_provider pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pigeon pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pointer_interceptor pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
plugin_platform_interface pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
quick_actions pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_identity_services_web pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
rfw pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
shared_preferences pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
two_dimensional_scrollables pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
url_launcher pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_codec pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_compiler pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
video_player pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
web_benchmarks pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
webview_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
xdg_directories pub package pub points downloads GitHub issues by-label GitHub pull requests by-label

Kategorien

Quell-Repository

Projekte, die dieses Paket verwenden