PlexHighlightWidget constructor
PlexHighlightWidget({})
Implementation
PlexHighlightWidget({super.key, required this.child, this.tagBgColor, this.size = 10, this.alignment = Alignment.topRight, this.enabled = true}) {
if(![Alignment.topRight, Alignment.topLeft,Alignment.bottomLeft, Alignment.bottomRight].contains(alignment)) {
throw Exception("Alignment must be one of the following lisr: [Alignment.topRight, Alignment.topLeft,Alignment.bottomLeft, Alignment.bottomRight]");
}
position = calculatePosition(alignment);
}