AvatarHover constructor
AvatarHover({
- required GlobalKey<
State< widgetKey,StatefulWidget> > - required BuildContext context,
- required bool online,
- Widget? avatarChild,
- bool hoverMenu = false,
- String? url,
- List<
Color> colors = const [], - List<
PopupMenuItem> ? itemsMenu, - double height = 100,
- double width = 100,
- double right = 6.8,
- double bottom = 6.8,
- double statusHeight = 20,
- double statusWidth = 20,
Implementation
AvatarHover({
required this.widgetKey,
required this.context,
required this.online,
this.avatarChild,
this.hoverMenu = false,
this.url,
this.colors = const [],
this.itemsMenu,
this.height = 100,
this.width = 100,
this.right = 6.8,
this.bottom = 6.8,
this.statusHeight = 20,
this.statusWidth = 20,
}) : assert (itemsMenu == null,
"itemsMenu cannot be null"
);