getSubtitle method Null safety

  1. @override
dynamic getSubtitle()

Implementation

@override
Widget? getSubtitle() =>
    Text(appLocalizations.myPreferences_settings_subtitle);