forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Horizontal buttons for Dialogs (openfoodfacts#2626)
* Revert "Revert "feat: Smooth Dialog with an axis for buttons (openfoodfacts#2587)" (openfoodfacts#2608)" This reverts commit 6b52473. * Many fixes * Small doc + Title & Cross in separated widgets * Increase a little bit the line height to improve readability Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
- Loading branch information
1 parent
e798376
commit ddb8bea
Showing
8 changed files
with
376 additions
and
115 deletions.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
packages/smooth_app/lib/data_models/github_contributors_model.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
class ContributorsModel { | ||
ContributorsModel({required this.avatarUrl, required this.profilePath}); | ||
ContributorsModel({ | ||
required this.avatarUrl, | ||
required this.profilePath, | ||
required this.login, | ||
}); | ||
|
||
ContributorsModel.fromJson(Map<String, dynamic> json) | ||
: profilePath = json['html_url'].toString(), | ||
login = json['login'].toString(), | ||
avatarUrl = json['avatar_url'].toString(); | ||
|
||
final String avatarUrl; | ||
final String profilePath; | ||
final String login; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.