diff --git a/packages/flame_jenny/jenny/lib/src/dialogue_view.dart b/packages/flame_jenny/jenny/lib/src/dialogue_view.dart index 50847941987..9c6fad84860 100644 --- a/packages/flame_jenny/jenny/lib/src/dialogue_view.dart +++ b/packages/flame_jenny/jenny/lib/src/dialogue_view.dart @@ -14,10 +14,10 @@ import 'package:meta/meta.dart'; /// {ref}`option `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 diff --git a/packages/flame_jenny/jenny/test/dialogue_view_test.dart b/packages/flame_jenny/jenny/test/dialogue_view_test.dart index 71af99da9a4..60bb10fb367 100644 --- a/packages/flame_jenny/jenny/test/dialogue_view_test.dart +++ b/packages/flame_jenny/jenny/test/dialogue_view_test.dart @@ -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]); final List events = []; final Duration waitDuration;