showPage static method
void
showPage()
Navigate to the monitor page, where the user can add or delete preferences
Be sure to set the navigationKey
before calling this method.
Implementation
static void showPage() async {
navigatorKey.currentState!.push(
MaterialPageRoute(
builder: (_) => SharedPreferencesWidget(
readOnly: false,
),
),
);
}