SimpleOverlaySettings constructor
const
SimpleOverlaySettings({
- double dialogHeight = 200,
- Color? dialogBackgroundColor,
- EdgeInsets itemsPadding = const EdgeInsets.symmetric(horizontal: 4),
- Color selectedItemBackgroundColor = Colors.black38,
- Color selectedItemHoverColor = const Color.fromRGBO(224, 224, 224, 1),
- TextStyle? selectedItemTextStyle = const TextStyle(color: Colors.black),
- TextStyle? unselectedItemTextStyle = const TextStyle(color: Colors.black45),
- Color unselectedItemHoverColor = const Color.fromRGBO(245, 245, 245, 1),
- Icon dialogDeleteIcon = const Icon(Icons.delete, color: Color.fromRGBO(183, 28, 28, 1), size: 20),
- Icon dialogEditIcon = const Icon(Icons.edit, color: Colors.black, size: 20),
- Widget? dialogActionWidget,
- double separatorHeight = 1,
- Duration animationDuration = const Duration(milliseconds: 100),
- String addItemHint = 'Criar',
- TextStyle? addItemHintStyle,
- Widget itemWidgetBuilder()?,
- Duration reOpenedScrollDuration = const Duration(seconds: 1),
- double offsetHeight = 3,
- double offsetWidth = 0,
- double aditionalWidgetSpacing = 5,
- bool openFullScreen = false,
- Color loadingColor = darkGreen,
- double loadingSize = 28,
Implementation
const SimpleOverlaySettings({
this.dialogHeight = 200,
this.dialogBackgroundColor,
this.itemsPadding = const EdgeInsets.symmetric(horizontal: 4),
this.selectedItemBackgroundColor = Colors.black38,
this.selectedItemHoverColor = const Color.fromRGBO(224, 224, 224, 1),
this.selectedItemTextStyle = const TextStyle(color: Colors.black),
this.unselectedItemTextStyle = const TextStyle(color: Colors.black45),
this.unselectedItemHoverColor = const Color.fromRGBO(245, 245, 245, 1),
this.dialogDeleteIcon = const Icon(
Icons.delete,
color: Color.fromRGBO(183, 28, 28, 1),
size: 20,
),
this.dialogEditIcon = const Icon(
Icons.edit,
color: Colors.black,
size: 20,
),
this.dialogActionWidget,
this.separatorHeight = 1,
this.animationDuration = const Duration(milliseconds: 100),
this.addItemHint = 'Criar',
this.addItemHintStyle,
this.itemWidgetBuilder,
this.reOpenedScrollDuration = const Duration(seconds: 1),
this.offsetHeight = 3,
this.offsetWidth = 0,
this.aditionalWidgetSpacing = 5,
this.openFullScreen = false,
this.loadingColor = darkGreen,
this.loadingSize = 28,
});