StyleWidget constructor

StyleWidget({
  1. Key? key,
  2. required dynamic onBold(
    1. bool bold
    ),
  3. required dynamic onUnderline(
    1. bool bold
    ),
  4. required dynamic onItalic(
    1. bool bold
    ),
  5. bool? bold,
  6. bool? italic,
  7. bool? underline,
})

Implementation

StyleWidget(
    {super.key,
    required this.onBold,
    required this.onUnderline,
    required this.onItalic,
    this.bold,
    this.italic,
    this.underline});