DisableWidget constructor
const
DisableWidget({
- Key? key,
- required Widget child,
- required bool disable,
- ColorFilter? colorFilter,
- bool? showColorFilter,
Implementation
const DisableWidget({
super.key,
required this.child,
required this.disable,
ColorFilter? colorFilter,
bool? showColorFilter,
}) : _showColorFilter = showColorFilter ?? disable,
_colorFilter = colorFilter ?? _greyscale;