BookMark constructor

const BookMark({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. required IconData icon,
  4. String? label,
  5. required Color textAndIconColor,
  6. required Color backgroundColor,
})

Creates a BookMark widget.

Implementation

const BookMark({
  super.key,
  required this.onPressed,
  required this.icon,
  this.label,
  required this.textAndIconColor,
  required this.backgroundColor,
});