-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
✨ enhancementNew feature or requestNew feature or request
Description
どのような問題がありますか?
アナリティクスのシェアイベントが取れない。
-
lib/widgets/button/share_work_button.dart
https://github.com/aipictors/app/blob/4598f7fe97672514d4b2491bfc070b4e1be84598/lib/widgets/button/share_work_button.dart#L35C17 -
lib/widgets/list_tile/modal_share_list_tile.dart
Share.share(
どうすれば良いですか?
- シェアイベントを追加する。
合わせて、ContentTypeのenumを追加します。
enum ContentType {
user('user'),
work('work'),
other('other');
const ContentType(this.value);
final String value;
static ContentType fromText(String value) {
for (final item in ContentType.values) {
if (item.value == value) {
return item;
}
}
return ContentType.other;
}
}
Metadata
Metadata
Assignees
Labels
✨ enhancementNew feature or requestNew feature or request