Green<C> constructor

const Green<C>({
  1. Key? key,
  2. C create(
    1. BuildContext context
    )?,
  3. required Widget child,
})

Implementation

const Green({
  super.key,
  this.create,
  required this.child,
}) : value = null;