PopupValueNotifier.titles constructor

PopupValueNotifier.titles(
  1. List<SpinnerData> titles
)

标题初始化

Implementation

factory PopupValueNotifier.titles(List<SpinnerData> titles) =>
    PopupValueNotifier(
      PopupState(items: List.of(titles), orginItems: List.of(titles)),
    );