CustomOverlay constructor

const CustomOverlay({
  1. Key? key,
  2. Widget? icon,
  3. BoxDecoration decoration = const BoxDecoration(color: Color(0xff77797A), borderRadius: BorderRadius.all(Radius.circular(20.0))),
  4. double width = 160,
  5. double height = 160,
})

Implementation

const CustomOverlay({
  Key? key,
  this.icon,
  this.decoration = const BoxDecoration(
    color: Color(0xff77797A),
    borderRadius: BorderRadius.all(Radius.circular(20.0)),
  ),
  this.width = 160,
  this.height = 160,
}) : super(key: key);