typedef SemanticIndexCallback = int? Function(Widget widget, int localIndex);
typedef SemanticIndexCallable = Callable2<int?, Widget, int>;