runHeaderAction method Null safety
Returns the action when we tap on the header.
Implementation
@protected
Future<void> runHeaderAction() async => Navigator.push<Widget>(
context,
MaterialPageRoute<Widget>(
builder: (BuildContext context) => UserPreferencesPage(
type: getPreferencePageType(),
),
),
);