build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Describes the part of the user interface represented by this widget.

Implementation

@override
Widget build(BuildContext context) {
  return AbsorbPointer(
    child: EffectWidget(
      effect: DimmerEffect(
        scalar: scalar,
        barrierColor: barrierColor,
        defaultForeground: defaultForeground,
        defaultBackground: defaultBackground,
        palette: palette,
      ),
      globalComposite: true,
      child: const SizedBox.expand(),
    ),
  );
}