about: added android dependencies to OSS

This commit is contained in:
Thibault Deckers 2020-05-24 11:03:52 +09:00
parent 810f32d542
commit 2bc16bd373
2 changed files with 23 additions and 2 deletions

View file

@ -28,7 +28,28 @@ class Constants {
static const svgBackground = Colors.white; static const svgBackground = Colors.white;
static const svgColorFilter = ColorFilter.mode(svgBackground, BlendMode.dstOver); static const svgColorFilter = ColorFilter.mode(svgBackground, BlendMode.dstOver);
static const List<Dependency> packages = [ static const List<Dependency> 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<Dependency> flutterPackages = [
Dependency( Dependency(
name: 'Flutter', name: 'Flutter',
license: 'BSD 3-Clause', license: 'BSD 3-Clause',

View file

@ -17,7 +17,7 @@ class _LicensesState extends State<Licenses> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
_packages = List.of(Constants.packages); _packages = [...Constants.androidDependencies, ...Constants.flutterPackages];
_sortPackages(); _sortPackages();
} }