File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 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' ;
12import 'package:flutter/material.dart' ;
23
4+ import 'licenses.dart' ;
35import 'log.dart' ;
46import 'widgets/app.dart' ;
57
@@ -8,5 +10,6 @@ void main() {
810 debugLogEnabled = true ;
911 return true ;
1012 }());
13+ LicenseRegistry .addLicense (additionalLicenses);
1114 runApp (const ZulipApp ());
1215}
You can’t perform that action at this time.
0 commit comments