createState method

  1. @override
State<PopupMenuButton<T>> createState()
override

Creates the mutable state for this widget at a given location in the tree.

Implementation

@override
State<PopupMenuButton<T>> createState() => PopupMenuButtonState<T>();