fix lints
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:speech_to_text_dialog/speech_to_text_dialog.dart';
|
||||
|
||||
void main() {
|
||||
@@ -50,7 +50,7 @@ class _MyAppState extends State<MyApp> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_textSubscription?.cancel();
|
||||
unawaited(_textSubscription?.cancel());
|
||||
_speechToTextDialog.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@@ -26,15 +26,11 @@ dependencies:
|
||||
# the parent directory to use the current plugin's version.
|
||||
path: ../
|
||||
|
||||
# The following adds the Cupertino Icons font to your application.
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
cupertino_icons: ^1.0.8
|
||||
|
||||
dev_dependencies:
|
||||
integration_test:
|
||||
sdk: flutter
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
integration_test:
|
||||
sdk: flutter
|
||||
|
||||
# The "flutter_lints" package below contains a set of recommended lints to
|
||||
# encourage good coding practices. The lint set provided by the package is
|
||||
|
||||
Reference in New Issue
Block a user