Skip to content

Commit c7f0dd1

Browse files
committed
Various tweaks to satify linter
1 parent 0a0d3e2 commit c7f0dd1

16 files changed

+20
-20
lines changed

lib/animations.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Animation frames
19+
// Animation frames
2020

2121
import 'dart:ui' as ui;
2222

lib/asr.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// ASR engine selection route. Subroute of SettingsRoute.
19+
// ASR engine selection route. Subroute of SettingsRoute.
2020

2121
import 'package:flutter/material.dart';
2222

lib/button.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Session button implementation.
19+
// Session button implementation.
2020

2121
import 'dart:math' show min, max;
2222
import 'dart:ui' as ui;

lib/common.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Global constants and debug logging
19+
// Global constants and debug logging
2020

2121
import 'package:flutter/foundation.dart' show kDebugMode;
2222

lib/hotword.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Singleton wrapper class for hotword detection ("Hæ Embla" activation)
19+
// Singleton wrapper class for hotword detection ("Hæ Embla" activation)
2020

2121
import 'dart:io';
2222
import 'dart:typed_data';

lib/info.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Info route that shows detailed information about the client.
20-
/// Subroute of SettingsRoute, shown when the program version is tapped.
19+
// Info route that shows detailed information about the client.
20+
// Subroute of SettingsRoute, shown when the program version is tapped.
2121

2222
import 'dart:io' show Platform;
2323

lib/jsexec.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Singleton wrapper class around a headless web view
20-
/// used to execute JS code payload from the server.
19+
// Singleton wrapper class around a headless web view
20+
// used to execute JS code payload from the server.
2121

2222
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
2323

lib/loc.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Singleton wrapper for location tracking.
19+
// Singleton wrapper for location tracking.
2020

2121
import 'dart:async';
2222

lib/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// App initialization and presentation of main (session) view.
19+
// App initialization and presentation of main (session) view.
2020

2121
import 'package:flutter/foundation.dart';
2222
import 'package:flutter/material.dart';

lib/menu.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Menu route
19+
// Menu route
2020

2121
// import 'package:flutter/foundation.dart' show kDebugMode;
2222
import 'package:flutter/material.dart';

lib/session.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Main session view
19+
// Main session view
2020

2121
import 'dart:async';
2222

lib/settings.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Settings route
19+
// Settings route
2020

2121
import 'dart:async';
2222

lib/theme.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Configure app theme i.e. colors, fonts and other styling
19+
// Configure app theme i.e. colors, fonts and other styling
2020

2121
import 'package:flutter/material.dart';
2222

@@ -49,7 +49,7 @@ final lightThemeData = ThemeData(
4949
// useMaterial3: true,
5050
brightness: Brightness.light,
5151
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.red, brightness: Brightness.light)
52-
.copyWith(background: lightBgColor),
52+
.copyWith(surface: lightBgColor),
5353
scaffoldBackgroundColor: lightBgColor,
5454
primaryColor: lightMainColor,
5555
cardColor: lightCardColor,
@@ -87,7 +87,7 @@ final darkThemeData = ThemeData(
8787
// useMaterial3: true,
8888
brightness: Brightness.dark,
8989
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.grey, brightness: Brightness.dark)
90-
.copyWith(background: darkBgColor),
90+
.copyWith(surface: darkBgColor),
9191
scaffoldBackgroundColor: darkBgColor,
9292
primaryColor: darkMainColor,
9393
cardColor: darkCardColor,

lib/util.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Various utility functions and custom class extensions
19+
// Various utility functions and custom class extensions
2020

2121
import 'dart:convert';
2222

lib/voices.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Voice selection route. Subroute of SettingsRoute.
19+
// Voice selection route. Subroute of SettingsRoute.
2020

2121
import 'package:flutter/foundation.dart' show kDebugMode;
2222
import 'package:flutter/material.dart';

lib/web.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
/// Documentation web views.
19+
// Documentation web views.
2020

2121
import 'package:flutter/foundation.dart';
2222
import 'package:flutter/material.dart';

0 commit comments

Comments
 (0)