StateHolder<T> constructor

const StateHolder<T>({
  1. required T state,
  2. required Widget child,
  3. Key? key,
})

Constructs a new StateHolder. This isn's something you need to construct

Implementation

const StateHolder({
  required this.state,
  required Widget child,
  final Key? key,
}) : super(key: key, child: child);