aboutsummaryrefslogtreecommitdiffstats
path: root/lib/data/data_providers/app_launcher_info.dart
blob: 4d79cfe72a98b1eab270ce5e15321de8448ef21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import 'package:flutter_ics_homescreen/export.dart';

class AppLauncherInfo {
  final String id;
  final String name;
  final String icon;
  final bool internal;

  AppLauncherInfo({required this.id, required this.name, required this.icon, required this.internal});
}

class AppLauncherList extends Notifier<List<AppLauncherInfo>> {
  @override
  List<AppLauncherInfo> build() {
    return [];
  }

  void update(List<AppLauncherInfo> newAppList) {
    state = newAppList;
  }
}