import 'package:device_apps/device_apps.dart'; import 'dart:async'; StreamController> applications_$ = StreamController>.broadcast(); Future> getApplications() { return DeviceApps.getInstalledApplications( includeSystemApps: true, onlyAppsWithLaunchIntent: true, includeAppIcons: false, ); } void refreshApplications() async { List apps = await getApplications(); applications_$.add(apps); } Stream> getApplications$() { return applications_$.stream; }