runHeaderAction method Null safety

Future<void> runHeaderAction()

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(),
        ),
      ),
    );