of static method

Select? of(
  1. BuildContext context
)

Sayfa geçişi ve çoklu seçimleri dinleyebilmek için Inherited widget.

Implementation

static Select? of(BuildContext context) {
  final scope = context.dependOnInheritedWidgetOfExactType<SelectableScope>();
  return scope?.state;
}