getInterfaceIcon method
Widget
getInterfaceIcon({
- required BuildContext context,
- required GlobalKey<
State< anchor,StatefulWidget> >
The Icon displayed for this interface
Will use interfaceColor and Icons.circle by default
Implementation
Widget getInterfaceIcon({
required BuildContext context,
required GlobalKey anchor,
}) {
if (interfaceIconBuilder != null) {
return interfaceIconBuilder!(context, anchor, this);
}
return Icon(
Icons.circle,
key: anchor,
color: interfaceColor,
size: 15,
);
}