IconsTextEditor constructor

const IconsTextEditor({
  1. IconData bottomNavBar = Icons.title_rounded,
  2. IconData alignLeft = Icons.align_horizontal_left_rounded,
  3. IconData alignCenter = Icons.align_horizontal_center_rounded,
  4. IconData alignRight = Icons.align_horizontal_right_rounded,
  5. IconData fontScale = Icons.format_size_rounded,
  6. IconData resetFontScale = Icons.refresh_rounded,
  7. IconData backgroundMode = Icons.layers_rounded,
})

Creates an instance of IconsTextEditor with customizable icon settings.

You can provide custom icons for various actions in the Text Editor component.

If no custom icons are provided, default icons are used for each action.

Example:

IconsTextEditor(
  bottomNavBar: Icons.text_fields,
  alignLeft: Icons.align_horizontal_left_rounded,
  alignCenter: Icons.align_horizontal_center_rounded,
  alignRight: Icons.align_horizontal_right_rounded,
  backgroundMode: Icons.layers_rounded,
)

Implementation

const IconsTextEditor({
  this.bottomNavBar = Icons.title_rounded,
  this.alignLeft = Icons.align_horizontal_left_rounded,
  this.alignCenter = Icons.align_horizontal_center_rounded,
  this.alignRight = Icons.align_horizontal_right_rounded,
  this.fontScale = Icons.format_size_rounded,
  this.resetFontScale = Icons.refresh_rounded,
  this.backgroundMode = Icons.layers_rounded,
});