Surface.transparent constructor
const
Surface.transparent({
- Key? key,
- ShapeBorder? shape,
- Clip clipBehavior = Clip.none,
- TextStyle? textStyle,
- required Widget child,
Paints nothing but shape's side, and lets hits through.
Implementation
const Surface.transparent({
super.key,
this.shape,
this.clipBehavior = Clip.none,
this.textStyle,
required this.child,
}) : color = null,
elevation = 0,
shadowColor = null,
_absorbsHits = false;