FocusOverlay constructor

FocusOverlay({
  1. FocusShape? focusShape,
  2. Size size = Size.zero,
  3. Offset? center,
  4. Color color = const Color(0x99000000),
})

Implementation

FocusOverlay(
    {FocusShape? focusShape,
    this.size = Size.zero,
    this.center,
    this.color = const Color(0x99000000)})
    : focusShape = focusShape ?? FocusShapeSquare();