Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
projectitis committed Aug 17, 2023
1 parent a691d52 commit 12c5a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/flame_jenny/jenny/lib/src/dialogue_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import 'package:meta/meta.dart';
/// {ref}`option <DialogueOption>`s are presented to the user.
///
/// There are two ways to use this class:
///
///
/// - Extending DialogueView
/// - Adding DialogueView as a mixin
///
///
/// In both cases you will need to create concrete implementations of the
/// abstract event handler methods in order to use Jenny's dialogue system.
/// The concrete `DialogueView` objects will then be passed to a
Expand Down
3 changes: 2 additions & 1 deletion packages/flame_jenny/jenny/test/dialogue_view_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ class _RecordingDialogueView extends DialogueView {

class _SomeOtherBaseClass {}

class _RecordingDialogueViewAsMixin extends _SomeOtherBaseClass with DialogueView {
class _RecordingDialogueViewAsMixin extends _SomeOtherBaseClass
with DialogueView {
_RecordingDialogueViewAsMixin([this.waitDuration = Duration.zero]);

Check notice on line 284 in packages/flame_jenny/jenny/test/dialogue_view_test.dart

View workflow job for this annotation

GitHub Actions / analyze

A value for optional parameter 'waitDuration' isn't ever given.

Try removing the unused parameter. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
final List<String> events = [];
final Duration waitDuration;
Expand Down

0 comments on commit 12c5a16

Please sign in to comment.