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
|
|
@ -1,17 +1,17 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
part "emoji.freezed.dart";
|
||||
part "emoji.g.dart";
|
||||
part "gemoji.freezed.dart";
|
||||
part "gemoji.g.dart";
|
||||
|
||||
@freezed
|
||||
abstract class Emoji with _$Emoji {
|
||||
const factory Emoji({
|
||||
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,
|
||||
}) = _Emoji;
|
||||
}) = _Gemoji;
|
||||
|
||||
factory Emoji.fromJson(Map<String, Object?> json) => _$EmojiFromJson(json);
|
||||
factory Gemoji.fromJson(Map<String, Object?> json) => _$GemojiFromJson(json);
|
||||
}
|
||||
Loading…
Reference in a new issue