Skip to content

Commit

Permalink
Fix analyzer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Aug 16, 2024
1 parent 5662616 commit f4a63c0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 97 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/_run_performance_test.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/analyze_performance.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions packages/fleather/example/integration_test/editing_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ void main() {
final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();

testWidgets('Enter some text at the end', (tester) async {
final document = ParchmentMarkdownCodec().decode(markdown * 100);
final document = const ParchmentMarkdownCodec().decode(markdown * 100);
final controller = FleatherController(document: document);
await tester.pumpWidget(MaterialApp(
home: Scaffold(
Expand All @@ -31,10 +31,10 @@ void main() {
});
}

final iputText =
const iputText =
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.';

final markdown = '''
const markdown = '''
# Fleather
_Soft and gentle rich text editing for Flutter applications._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void main() {
final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();

testWidgets('Scroll to the end', (tester) async {
final document = ParchmentMarkdownCodec().decode(markdown * 100);
final document = const ParchmentMarkdownCodec().decode(markdown * 100);
final controller = FleatherController(document: document);
await tester.pumpWidget(MaterialApp(
home: Scaffold(
Expand Down Expand Up @@ -36,7 +36,7 @@ void main() {
});
}

final markdown = '''
const markdown = '''
# Fleather
_Soft and gentle rich text editing for Flutter applications._
Expand Down
3 changes: 3 additions & 0 deletions packages/fleather/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ dependencies:
image_picker: ^1.0.7
fleather:
path: ../
parchment:
path: ../../parchment

dependency_overrides:
parchment:
Expand All @@ -27,6 +29,7 @@ dev_dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
flutter_lints: ^4.0.0
flutter_test_robots: ^0.0.24

flutter:
Expand Down
2 changes: 2 additions & 0 deletions packages/fleather/example/test_utils/analyze_performance.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: avoid_print

import 'dart:convert';
import 'dart:io';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: avoid_print

import 'dart:io';

import 'package:integration_test/integration_test_driver.dart';
Expand Down

0 comments on commit f4a63c0

Please sign in to comment.