getButtonNames method
- BuildContext context
override
Implementation
@override
ButtonNames getButtonNames(BuildContext context) {
final localizations = AnthologyLocalizations.of(context)!;
return ButtonNames(
brightness: localizations.toogleBrightness,
// for now i want my app color NOT selectable in production
color: (kDebugMode) ? localizations.selectSeedColor : null,
language: localizations.switchLang,
);
}