QueryListener<ResultType> constructor

const QueryListener<ResultType>({
  1. Key? key,
  2. required QueryModel<dynamic, ResultType> query,
  3. required Widget child,
  4. required void listener(
    1. BuildContext context,
    2. QueryState state
    ),
})

Implementation

const QueryListener({
  Key? key,
  required this.query,
  required this.child,
  required this.listener,
}) : super(key: key);