chat_bottom_container
0.5.4, released 2 weeks ago by fullstackaction.com
Manages smooth switching between keyboard and custom panels on chat pages.
What it does
A Flutter package designed for managing the bottom container of a chat page. It facilitates smooth switching between the software keyboard and other custom panels like emojis or tools.
AI-written summary of version 0.5.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a chat application and need smooth transitions between the keyboard and custom bottom panels.
- You want to avoid jarring layout jumps when switching input methods on chat screens.
Skip it when
- You are building a standard app without chat inputs or bottom panels.
- You do not need custom panel management below the text input.
Strengths
- Enables smooth switching between keyboard and custom panels.
- Supports custom animations and panel types.
- Cross-platform support including iOS, Android, and OpenHarmony/HarmonyOS.
Weaknesses
- Requires manual configuration such as setting resizeToAvoidBottomInset to false.
- Android integration requires adding jitpack to the root build.gradle.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Requires setting resizeToAvoidBottomInset to false in Scaffold, and adding jitpack repository to Android's build.gradle.
ChatBottomPanelContainer<PanelType>(
controller: controller,
inputFocusNode: inputFocusNode,
otherPanelWidget: (type) {
return const SizedBox.shrink();
},
onPanelTypeChange: (panelType, data) {},
)Alternatives
Packages that do the same job and could replace chat_bottom_container.
- lazy_load_scrollview
A wrapper for scrollable widgets that triggers a callback when reaching the end of the page.
50Compare - bottom_bar_with_sheet
This package help you to create bottom bar with FloatingActionButton which buld BottomSheet widget on every page.
50Compare - awesome_bottom_bar
A customizable bottom navigation bar with various animated styles.
50Compare
Works with
Packages commonly used together with chat_bottom_container: ones it builds on, ones built on it, and its own family.
- plugin_platform_interfacechat_bottom_container depends on itReusable base class for platform interfaces of Flutter federated plugins.
- shared_preferenceschat_bottom_container depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.