TopToolsWidget constructor
const
TopToolsWidget({
- Key? key,
- required bool isTextInput,
- required Duration animationsDuration,
- int selectedBackgroundGradientIndex = 0,
- int selectedTextBackgroundGradientIndex = 0,
- required VoidCallback onScreenTap,
- required VoidCallback onPickerTap,
- required VoidCallback onToggleTextColorPicker,
- required VoidCallback onChangeTextBackground,
- EditableItem? activeItem,
Creates an instance of the widget.
All parameters are required and must not be null.
Implementation
const TopToolsWidget({
super.key,
required this.isTextInput,
required this.animationsDuration,
this.selectedBackgroundGradientIndex = 0,
this.selectedTextBackgroundGradientIndex = 0,
required this.onScreenTap,
required this.onPickerTap,
required this.onToggleTextColorPicker,
required this.onChangeTextBackground,
this.activeItem,
});