CircleButton constructor Null safety

CircleButton(
  1. {Key? key,
  2. Widget? child,
  3. double? width,
  4. double? height,
  5. Function? onTap,
  6. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 9, vertical: 6),
  7. EdgeInsets margin = EdgeInsets.zero,
  8. Color? backgroundColor = Colors.white}
)

Implementation

CircleButton({
  Key? key,
  this.child,
  this.width,
  this.height,
  this.onTap,
  this.padding = const EdgeInsets.symmetric(horizontal: 9, vertical: 6),
  this.margin = EdgeInsets.zero,
  this.backgroundColor = Colors.white,
}) : super(key: key);