ColorTabView constructor Null safety

const ColorTabView(
  1. {Key? key,
  2. required ColorPalette colorPalette,
  3. ValueSetter<ColorDescriptor>? onDoubleTap,
  4. ValueSetter<ColorDescriptor>? onTap}
)

Implementation

const ColorTabView({
  Key? key,
  required this.colorPalette,
  this.onDoubleTap,
  this.onTap,
}) : super(key: key);