forked from Nexus/nexus
WIP: New Emoji Picker
This commit is contained in:
parent
49b94a2e34
commit
941e1c0e69
7 changed files with 543 additions and 140 deletions
17
lib/models/gemoji.dart
Normal file
17
lib/models/gemoji.dart
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
part "gemoji.freezed.dart";
|
||||
part "gemoji.g.dart";
|
||||
|
||||
@freezed
|
||||
abstract class Gemoji with _$Gemoji {
|
||||
const factory Gemoji({
|
||||
required String emoji,
|
||||
required String category,
|
||||
required IList<String> aliases,
|
||||
required String description,
|
||||
required IList<String> tags,
|
||||
}) = _Gemoji;
|
||||
|
||||
factory Gemoji.fromJson(Map<String, Object?> json) => _$GemojiFromJson(json);
|
||||
}
|
||||
Loading…
Reference in a new issue