Skip to content

Commit

Permalink
Various tweaks to satify linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Aug 6, 2024
1 parent 0a0d3e2 commit c7f0dd1
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion lib/animations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Animation frames
// Animation frames

import 'dart:ui' as ui;

Expand Down
2 changes: 1 addition & 1 deletion lib/asr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// ASR engine selection route. Subroute of SettingsRoute.
// ASR engine selection route. Subroute of SettingsRoute.

import 'package:flutter/material.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Session button implementation.
// Session button implementation.

import 'dart:math' show min, max;
import 'dart:ui' as ui;
Expand Down
2 changes: 1 addition & 1 deletion lib/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Global constants and debug logging
// Global constants and debug logging

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

Expand Down
2 changes: 1 addition & 1 deletion lib/hotword.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Singleton wrapper class for hotword detection ("Hæ Embla" activation)
// Singleton wrapper class for hotword detection ("Hæ Embla" activation)

import 'dart:io';
import 'dart:typed_data';
Expand Down
4 changes: 2 additions & 2 deletions lib/info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

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

import 'dart:io' show Platform;

Expand Down
4 changes: 2 additions & 2 deletions lib/jsexec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Singleton wrapper class around a headless web view
/// used to execute JS code payload from the server.
// Singleton wrapper class around a headless web view
// used to execute JS code payload from the server.

import 'package:flutter_inappwebview/flutter_inappwebview.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/loc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Singleton wrapper for location tracking.
// Singleton wrapper for location tracking.

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// App initialization and presentation of main (session) view.
// App initialization and presentation of main (session) view.

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Menu route
// Menu route

// import 'package:flutter/foundation.dart' show kDebugMode;
import 'package:flutter/material.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/session.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Main session view
// Main session view

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion lib/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Settings route
// Settings route

import 'dart:async';

Expand Down
6 changes: 3 additions & 3 deletions lib/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Configure app theme i.e. colors, fonts and other styling
// Configure app theme i.e. colors, fonts and other styling

import 'package:flutter/material.dart';

Expand Down Expand Up @@ -49,7 +49,7 @@ final lightThemeData = ThemeData(
// useMaterial3: true,
brightness: Brightness.light,
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.red, brightness: Brightness.light)
.copyWith(background: lightBgColor),
.copyWith(surface: lightBgColor),
scaffoldBackgroundColor: lightBgColor,
primaryColor: lightMainColor,
cardColor: lightCardColor,
Expand Down Expand Up @@ -87,7 +87,7 @@ final darkThemeData = ThemeData(
// useMaterial3: true,
brightness: Brightness.dark,
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.grey, brightness: Brightness.dark)
.copyWith(background: darkBgColor),
.copyWith(surface: darkBgColor),
scaffoldBackgroundColor: darkBgColor,
primaryColor: darkMainColor,
cardColor: darkCardColor,
Expand Down
2 changes: 1 addition & 1 deletion lib/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Various utility functions and custom class extensions
// Various utility functions and custom class extensions

import 'dart:convert';

Expand Down
2 changes: 1 addition & 1 deletion lib/voices.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Voice selection route. Subroute of SettingsRoute.
// Voice selection route. Subroute of SettingsRoute.

import 'package:flutter/foundation.dart' show kDebugMode;
import 'package:flutter/material.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// Documentation web views.
// Documentation web views.

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
Expand Down

0 comments on commit c7f0dd1

Please sign in to comment.