Skip to content

Commit

Permalink
fix beta lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Dec 30, 2024
1 parent 91854bc commit d114a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 98 deletions.
97 changes: 0 additions & 97 deletions packages_web/sqflite_common_ffi_web/example/analysis_options.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion packages_web/sqflite_common_ffi_web/example/ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ var countLineMax = 100;
var _output = web.document.querySelector('#output')!;
var _input = web.document.querySelector('#input')!;
void write(String message) {
// ignore: avoid_print
print(message);
lines.add(message);
if (lines.length > countLineMax + 10) {
Expand All @@ -15,7 +16,7 @@ void write(String message) {
}

void addButton(String text, FutureOr<void> Function() action) {
_input.append((web.document.createElement('button') as web.HTMLButtonElement)
_input.append(web.HTMLButtonElement()
..innerText = text
..onClick.listen((event) async {
await action();
Expand Down

0 comments on commit d114a12

Please sign in to comment.