getChildren method
Implementation
List<UserPreferencesItem> getChildren() => <UserPreferencesItem>[
// we don't want this on the onboarding
UserPreferencesItemSimple(
labels: <String>[appLocalizations.reset_food_prefs],
builder: (BuildContext context) => ListTile(
title: Text(appLocalizations.reset_food_prefs),
onTap: () async => _confirmReset(),
leading: Icon(
Icons.rotate_left,
color: Theme.of(context).iconTheme.color,
),
),
),
..._getOnboardingBody(),
];