useQuery method

void useQuery(
  1. dynamic builder(
    1. Niku child,
    2. MediaQueryData constraints
    )
)

Implementation

void useQuery(Function(Niku child, MediaQueryData constraints) builder) {
  useChild(
    (child) => Builder(
      builder: (context) => builder(
        child.build(context).niku,
        MediaQuery.of(context),
      ),
    ),
  );
}