import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; import '../routes/app_routes.dart'; import '../theme/app_theme.dart'; /// Floating action button for composing new posts class ComposeFab extends StatelessWidget { final String? heroTag; const ComposeFab({ super.key, this.heroTag, }); @override Widget build(BuildContext context) { return FloatingActionButton( heroTag: heroTag, tooltip: 'Compose', onPressed: () { context.push(AppRoutes.quipCreate); }, backgroundColor: AppTheme.brightNavy, // Replaced AppTheme.accent child: const Icon(Icons.edit_outlined, color: AppTheme.white), ); } }