source property

PopupSource? get source

The source of the popup, or where the popup should be seen originating from.

For example, in a typical material dropdown menu, the source will be the selected item.

Implementation

PopupSource? get source => _backingMap[#source] as PopupSource?;
set source (PopupSource? source)

Implementation

set source(PopupSource? source) {
  _backingMap[#source] = source;
}