File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ import 'package:flutter/foundation.dart' ;
2
+
3
+ /// Our [LicenseEntryCollector] for licenses that aren't included by default.
4
+ ///
5
+ /// Licenses that ship with our Dart-package dependencies are included
6
+ /// automatically. This collects other licenses, such as for fonts we include in
7
+ /// our asset bundle.
8
+ // If the license text is meant to be read from a file in the asset bundle,
9
+ // remember to include the file in the asset bundle by listing its path
10
+ // under `assets` in pubspec.yaml.
11
+ Stream <LicenseEntry > additionalLicenses () async * {
12
+ // TODO add some
13
+ }
Original file line number Diff line number Diff line change
1
+ import 'package:flutter/foundation.dart' ;
1
2
import 'package:flutter/material.dart' ;
2
3
4
+ import 'licenses.dart' ;
3
5
import 'log.dart' ;
4
6
import 'widgets/app.dart' ;
5
7
@@ -8,5 +10,6 @@ void main() {
8
10
debugLogEnabled = true ;
9
11
return true ;
10
12
}());
13
+ LicenseRegistry .addLicense (additionalLicenses);
11
14
runApp (const ZulipApp ());
12
15
}
You can’t perform that action at this time.
0 commit comments