Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ABausG committed Jun 28, 2023
1 parent f58f086 commit b59dd22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
run: flutter pub publish --dry-run
- name: Test
run: flutter test --coverage
- uses: VeryGoodOpenSource/very_good_coverage@v1.2.0
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: VeryGoodOpenSource/very_good_coverage@v1.2.0

android:
name: Android Integration Tests
Expand Down
5 changes: 4 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ class _MyAppState extends State<MyApp> {
HomeWidget.saveWidgetData<String>('title', _titleController.text),
HomeWidget.saveWidgetData<String>('message', _messageController.text),
HomeWidget.renderFlutterWidget(
Icon(Icons.flutter_dash, size: 200,),
Icon(
Icons.flutter_dash,
size: 200,
),
logicalSize: Size(200, 200),
fileName: 'dashIcon',
key: 'icon',
Expand Down
2 changes: 1 addition & 1 deletion lib/home_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class HomeWidget {
}
final String path = '$directory/homeWidget/$fileName.png';
final File file = File(path);
if (! await file.exists()) {
if (!await file.exists()) {
file.create(recursive: true);
}
await file.writeAsBytes(byteData!.buffer.asUint8List());
Expand Down

0 comments on commit b59dd22

Please sign in to comment.