FocusGroup constructor

const FocusGroup({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. bool isActive
    ),
  3. ValueChanged<bool>? onActiveChanged,
  4. bool autofocus = false,
})

Implementation

const FocusGroup({
  super.key,
  required this.builder,
  this.onActiveChanged,
  this.autofocus = false,
});