fyral_comms 0.0.3
fyral_comms: ^0.0.3 copied to clipboard
Communication feature package for Fleet Glide Admin
fyral_comms #
A premium, responsive, and interactive messaging and team communication package for Flutter applications. Specifically tailored to handle both mobile and tablet interfaces seamlessly.
Features #
- Responsive Dual-Pane Split-Screen: Automatically switches to a split-screen view on tablet-sized screens (width $\ge 600\text{px}$ in landscape, or $\ge 900\text{px}$ in portrait). Includes:
- Left navigation sidebar panel showing active conversations.
- Right viewport panel loading detail message logs.
- Dynamic Selection Highlighting: Sidebars highlight selected conversations with matching theme outline borders.
- Unified Gradient Headers: Left and right app bars share matching, beautiful steel-blue gradient backdrops.
- Morphing AI FAB Input Field: Circular Floating Action Button morphs into a full-width input query box at the bottom of the viewport with a fluid shape-morphing size and cross-fade animation.
- Adaptive Layout Adjustments: Conditionally suppresses screen navigation (like back arrows) in tablet views to prevent accidental page pops.
- Full Theme Support: Adapts typography, background colors, and borders automatically to match system light and dark themes.
Getting started #
Add fyral_comms as a dependency in your pubspec.yaml file:
dependencies:
fyral_comms: ^0.0.1
Or run:
flutter pub add fyral_comms
Usage #
Embed the CommsPage inside your application route configuration (e.g. using GoRouter):
import 'package:fyral_comms/comms.dart';
// Use CommsPage in your build widget tree:
@override
Widget build(BuildContext context) {
return const Scaffold(
body: CommsPage(),
);
}
Refer to the /example directory for a complete demonstration, including premium custom ThemeData configurations for both light and dark display modes.
Additional information #
- Repository: Find the source code and file issues on GitHub.
- Contributing: Feedback and pull requests are welcome. Feel free to file issues or request enhancements on the repository.