Skip to content

Commit 27a83d1

Browse files
author
Chahat Gupta
committed
Formatted code according to Dart conventions
1 parent 5273a94 commit 27a83d1

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.4
2+
3+
- Formatted code according to Dart conventions
4+
15
## 1.0.3
26

37
- Added support for audio files (.mp3 and .wav)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To use Asset Showcase in your Dart project, add it as a dev dependency in your `
2020

2121
```yaml
2222
dev_dependencies:
23-
asset_showcase: ^1.0.3
23+
asset_showcase: ^1.0.4
2424
```
2525
2626
Then, run `dart pub get` or `flutter pub get` to install the package.

bin/asset_showcase.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ void generateHtmlForAssets(String assetsDir, String outputFilePath) {
215215
.write(' const fileInfos = document.querySelectorAll(".grid-item");');
216216
htmlStream.write(' fileInfos.forEach(fileInfo => {');
217217
htmlStream.write(' fileInfo.addEventListener("click", () => {');
218-
htmlStream.write(
219-
' const filePath = fileInfo.getAttribute("data-file-path");');
218+
htmlStream
219+
.write(' const filePath = fileInfo.getAttribute("data-file-path");');
220220
htmlStream.write(' copyFilePath(filePath);');
221221
htmlStream.write(' });');
222222
htmlStream.write(' });');

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To use Asset Showcase in your Dart project, add it as a dev dependency in your `
44

55
```yaml
66
dev_dependencies:
7-
asset_showcase: ^1.0.3
7+
asset_showcase: ^1.0.4
88
```
99
1010
Then, run `dart pub get` or `flutter pub get` to install the package.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: asset_showcase
22
description: A dart package to help you visually list and analyze your Flutter project assets
3-
version: 1.0.3
3+
version: 1.0.4
44
repository: https://github.com/chtgupta/flutter-asset-showcase
55

66
environment:

0 commit comments

Comments
 (0)