BoxIconWidget constructor

const BoxIconWidget({
  1. Key? key,
  2. IconData icon = Icons.document_scanner,
  3. required VoidCallback? onPressed,
  4. required double width,
  5. Color iconColor = Colors.white,
  6. Color? backgroundColor,
  7. bool isEnabled = true,
  8. double borderRadius = 15.0,
})

Implementation

const BoxIconWidget({
  super.key,
  this.icon = Icons.document_scanner,
  required this.onPressed,
  required this.width,
  this.iconColor = Colors.white,
  this.backgroundColor,
  this.isEnabled = true,
  this.borderRadius = 15.0,
});