initialPath property
String
get
initialPath
Initial path to focus in the select widget.
Implementation
String get initialPath {
final opts = memoryOptions;
if (_lastSelectedPath != null &&
opts.any((o) => o.value == _lastSelectedPath)) {
return _lastSelectedPath!;
}
return opts.isNotEmpty ? opts.first.value : '';
}