new_device_apps 1.0.0 copy "new_device_apps: ^1.0.0" to clipboard
new_device_apps: ^1.0.0 copied to clipboard

PlatformAndroid

List applications installed on an Android device (iOS is not supported). You can also monitor application changes (updates, uninstallation…)

example/lib/main.dart

import 'package:device_apps_example/apps_events.dart';
import 'package:device_apps_example/apps_list.dart';
import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(home: const ExampleApp()));

class ExampleApp extends StatelessWidget {
  const ExampleApp();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Device apps demo')),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: <Widget>[
            TextButton(
                onPressed: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute<Object>(
                        builder: (BuildContext context) => AppsListScreen()),
                  );
                },
                child: Text('Applications list')),
            TextButton(
                onPressed: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute<Object>(
                        builder: (BuildContext context) => AppsEventsScreen()),
                  );
                },
                child: Text('Applications events'))
          ],
        ),
      ),
    );
  }
}
1
likes
140
points
999
downloads

Publisher

unverified uploader

Weekly Downloads

List applications installed on an Android device (iOS is not supported). You can also monitor application changes (updates, uninstallation…)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on new_device_apps

Packages that implement new_device_apps