Modifier constructor

Modifier({
  1. Key? key,
  2. required List<SingleChildModifier> modifiers,
  3. Widget? child,
})

Allows configuring key, children and child

Implementation

Modifier({
  super.key,
  required List<SingleChildModifier> modifiers,
  Widget? child,
})  : _modifiers = modifiers,
      _child = child;