diff --git a/lib/utils/constants.dart b/lib/utils/constants.dart index a06442ca0..4ae63867e 100644 --- a/lib/utils/constants.dart +++ b/lib/utils/constants.dart @@ -28,7 +28,28 @@ class Constants { static const svgBackground = Colors.white; static const svgColorFilter = ColorFilter.mode(svgBackground, BlendMode.dstOver); - static const List packages = [ + static const List androidDependencies = [ + Dependency( + name: 'Glide', + license: 'Apache 2.0, BSD 2-Clause', + licenseUrl: 'https://github.com/bumptech/glide/blob/master/LICENSE', + sourceUrl: 'https://github.com/bumptech/glide', + ), + Dependency( + name: 'Guava', + license: 'Apache 2.0', + licenseUrl: 'https://github.com/google/guava/blob/master/COPYING', + sourceUrl: 'https://github.com/google/guava', + ), + Dependency( + name: 'Metadata Extractor', + license: 'Apache 2.0', + licenseUrl: 'https://github.com/drewnoakes/metadata-extractor/blob/master/LICENSE', + sourceUrl: 'https://github.com/drewnoakes/metadata-extractor', + ), + ]; + + static const List flutterPackages = [ Dependency( name: 'Flutter', license: 'BSD 3-Clause', diff --git a/lib/widgets/about/licenses.dart b/lib/widgets/about/licenses.dart index 2462c122a..2f147f3b3 100644 --- a/lib/widgets/about/licenses.dart +++ b/lib/widgets/about/licenses.dart @@ -17,7 +17,7 @@ class _LicensesState extends State { @override void initState() { super.initState(); - _packages = List.of(Constants.packages); + _packages = [...Constants.androidDependencies, ...Constants.flutterPackages]; _sortPackages(); }