PrefDisableState constructor

const PrefDisableState({
  1. Key? key,
  2. required Widget child,
  3. required bool disabled,
})

create a Hider widget

Implementation

const PrefDisableState({
  Key? key,
  required Widget child,
  required this.disabled,
}) : super(key: key, child: child);