defaultEditorMaskColorHandler function

Color defaultEditorMaskColorHandler (
  1. BuildContext context,
  2. bool pointerDown
)

Implementation

Color defaultEditorMaskColorHandler(BuildContext context, bool pointerDown) {
  return Theme.of(context)
      .scaffoldBackgroundColor
      .withOpacity(pointerDown ? 0.4 : 0.8);
}