reactions property

List<ReactionCreator<C>> reactions
final

List of reaction creators. You can use any type of reaction you want to: when, autorun, reaction and so on.

reactions: [
  (controller) => autorun((r) => print(controller.someValue)),
  (controller) => autorun((r) => print(controller.someotherValue)),
]

Implementation

final List<ReactionCreator<C>> reactions;