aloisdeniel / aloisdeniel/flutter_sheet_localization

All generated classes as Labels

Open
#50 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
286
Forks
87
PR merge metrics
No merged PRs in 30d

Description

With version 5.1, is it possible to access all generated classes with corresponding strings? With older version, I have extension like

```
extension BuildContextExtension on BuildContext {

// Get translated label by calling [context.translate().foo.barTitle]
AppLocalizations_Labels translate() {
return AppLocalizations.of(this);
}
}
```

It would be awesome to have something similar here 🙏

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.