feat(comments): added actions bottom sheet with different actions for comments, added copy, reply and complain

This commit is contained in:
Username1548
2025-07-08 09:17:20 +07:00
parent 0886d1cd7b
commit 0a636e05b8
20 changed files with 395 additions and 100 deletions

View File

@@ -0,0 +1,15 @@
import 'package:dio/dio.dart';
import 'package:retrofit/retrofit.dart';
part 'comments_service.g.dart';
@RestApi()
abstract class CommentsService {
factory CommentsService(Dio dio, {String baseUrl}) = _CommentsService;
@DELETE('/api/comments/{comment}')
Future<void> deleteComment(@Path('id') int id);
@PATCH('/api/comments/{comment}')
Future<void> updateComment(@Path('id') int id, @Body() String body);
}