Skip to content

Commit

Permalink
making dart analyzer happy
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzanardo committed Oct 10, 2024
1 parent ab963f9 commit 6c231e5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions fire_atlas_editor/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include: package:flame_lint/analysis_options.yaml
include: package:flame_lint/analysis_options_with_dcm.yaml

linter:
rules:
avoid_catches_without_on_clauses: false
constant_identifier_names: false
constant_identifier_names: false
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ChangeImageModal extends StatefulWidget {

class _ChangeImageModalState extends State<ChangeImageModal> {
String? _imageData;
String? _imagePath;
late String? _imagePath;
String? _imageName;

@override
Expand Down Expand Up @@ -62,7 +62,7 @@ class _ChangeImageModalState extends State<ChangeImageModal> {
store.dispatchAsync(
UpdateAtlasImageAction(
imageData: _imageData!,
imagePath: _imagePath!,
imagePath: _imagePath,
),
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AtlasOptionsContainer extends StatefulWidget {
class _AtlasOptionsContainerState extends State<AtlasOptionsContainer> {
String? _imageData;
String? _imageName;
String? _imagePath;
late String? _imagePath;

late final TextEditingController atlasNameController;
late final TextEditingController tileWidthController;
Expand Down
8 changes: 4 additions & 4 deletions fire_atlas_editor/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ packages:
dependency: "direct main"
description:
name: flame_lint
sha256: "69f30090f947a45948c0d8c7205f8ffa4b9745360d427d2de98bc69def9b7c42"
sha256: b5bdef4193438b3d6b5827aece830eb295e6b75620570d5013c93f7bef2cb279
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.2.1"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -252,10 +252,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
matcher:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion fire_atlas_editor/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
file_selector_windows: ^0.9.1+4
flame: ^1.18.0
flame_fire_atlas: ^1.5.3
flame_lint: ^1.0.0
flame_lint: ^1.2.1
flutter:
sdk: flutter
shared_preferences: ^2.0.17
Expand Down

0 comments on commit 6c231e5

Please sign in to comment.