ExpansionWidget.autoSaveState constructor
const
ExpansionWidget.autoSaveState({})
Implementation
const ExpansionWidget.autoSaveState({
Key? key,
required this.titleBuilder,
this.onExpansionWillChange,
this.onExpansionChanged,
required this.content,
this.initiallyExpanded = false,
this.expandedAlignment = Alignment.center,
this.duration = const Duration(milliseconds: 200),
}) : maintainState = true,
onRestoreState = _restoreStateFromPageStore,
onSaveState = _saveStateToPageStore,
super(key: key);