sojorn/sojorn_app/lib/widgets/video_comments_sheet.dart
Patrick Britton ca59f3286a Chain updates
2026-01-30 10:03:15 -06:00

50 lines
1.3 KiB
Dart

import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:timeago/timeago.dart' as timeago;
import '../models/post.dart';
import '../models/thread_node.dart';
import '../services/api_service.dart';
import '../theme/app_theme.dart';
import '../widgets/glassmorphic_quips_sheet.dart';
/// Glassmorphic video comments sheet with kinetic navigation
class VideoCommentsSheet extends StatefulWidget {
final String postId;
final int initialCommentCount;
final VoidCallback? onCommentPosted;
const VideoCommentsSheet({
super.key,
required this.postId,
this.initialCommentCount = 0,
this.onCommentPosted,
});
@override
State<VideoCommentsSheet> createState() => _VideoCommentsSheetState();
}
class _VideoCommentsSheetState extends State<VideoCommentsSheet> {
// This is now just a wrapper around GlassmorphicQuipsSheet
// All functionality is delegated to the glassmorphic sheet
@override
void initState() {
super.initState();
}
@override
void dispose() {
super.dispose();
}
@override
Widget build(BuildContext context) {
return GlassmorphicQuipsSheet(
postId: widget.postId,
initialQuipCount: widget.initialCommentCount,
onQuipPosted: widget.onCommentPosted,
);
}
}