Skip to content

Commit ba9d37f

Browse files
committed
Create ParentReactionMixin
* It holds the children of the node that are reactive, i.e., can perform actions on triggers. Ex. NavigationBarNode.
1 parent 9718958 commit ba9d37f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/src/api/mixins.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ mixin ReactionMixin {
189189
[TriggerType.click, TriggerType.longPress];
190190
}
191191

192+
/// A mixin that holds the children of the node that are reactive, i.e., can
193+
/// perform actions on triggers. For ex. [NavigationBarNode].
194+
mixin ParentReactionMixin {
195+
List<ReactionMixin> get reactiveChildren;
196+
}
197+
192198
/// A mixin that allows the node to have children.
193199
///
194200
/// To use, include the mixin in the class definition and call

0 commit comments

Comments
 (0)