Skip to content

Commit

Permalink
dart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deathblade666 committed Jul 28, 2024
1 parent 3225621 commit 5c5f944
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final _defaultDarkColorScheme = ColorScheme.fromSwatch(primarySwatch: Colors.ind
final _defaultLightColorScheme = ColorScheme.fromSwatch(primarySwatch: Colors.indigo);

class MyApp extends StatefulWidget{
MyApp({super.key});
const MyApp({super.key});


@override
Expand Down
1 change: 0 additions & 1 deletion lib/pages/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import 'package:shared_preferences/shared_preferences.dart';
String filePath = '';
String _filename = '';
bool fullEdit = true;

bool WordCount = false;
const List<String> list = <String>['system', 'dark', 'light', 'black'];
String dropDownValue = list.first;
Expand Down
2 changes: 1 addition & 1 deletion test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import 'package:mdeditor/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget( MyApp());
await tester.pumpWidget( const MyApp());

// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);
Expand Down

0 comments on commit 5c5f944

Please sign in to comment.