Skip to content

Commit bf57800

Browse files
committed
fix lints
1 parent 291569e commit bf57800

7 files changed

+12
-7
lines changed

example/google_jsapi_picker_example.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
library google_jsapi_example;
1+
library;
22

33
import 'dart:html';
44

example/test_config.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
library test_config;
1+
library;
22

33
class AppOptions {
44
// The developer key needed for the picker API

lib/picker.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
library gapi_picker;
1+
library;
22

33
import 'dart:async';
44
import 'dart:js';
@@ -32,7 +32,7 @@ class Picker {
3232
_jsObject!.callMethod('setVisible', [visible]);
3333
}
3434

35-
/// Return Future<null> on cancel
35+
/// Throw on cancel
3636
Future<PickerDataDocuments> pick() {
3737
final completer = Completer<PickerDataDocuments>();
3838
visible = true;

pubspec.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ dev_dependencies:
3131
test: any
3232
process_run: '>=1.0.0'
3333
googleapis_auth: '>=1.6.0'
34+
tekartik_js_utils:
35+
git:
36+
url: https://github.com/tekartik/js_utils.dart
37+
ref: dart3a
38+
path: js_utils

test/all_test_browser.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
library all_test_browser;
1+
library;
22

33
import 'picker_test.dart' as picker_test;
44

test/picker_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@TestOn('browser')
2-
library picker_test;
2+
library;
33

44
import 'dart:async';
55

test/test_config.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
library test_config;
1+
library;
22

33
class AppOptions {
44
// The developer key needed for the picker API

0 commit comments

Comments
 (0)