super_cupertino_navigation_bar
super_cupertino_navigation_bar copied to clipboard
thanks for wonderful lib, but I got stuck with a simple appbar
I dont want large title for detail screen.
But I using a customized appbar title, the position are weired, and the Listview in my page, have a fixed margin to the super app bar.
But using vinilla appbar, there is not problem, why
Here is my code:
body: SuperScaffold(
onCollapsed: (val) {
print("collapsed => $val");
},
stretch: false,
transitionBetweenRoutes: true,
appBar: SuperAppBar(
backgroundColor: Colors.transparent,
title: _buildPageAppTitle(),
previousPageTitle: "",
bottom: SuperAppBarBottom(enabled: false),
searchBar: SuperSearchBar(enabled: false),
largeTitle: SuperLargeTitle(enabled: false)),
body: SafeArea(
top: false,
child: Obx(
() => StreamBuilder(
stream: ChatDbPageController.to.getUiMessagesForRoom(
widget.contactChat!,
chatPageController.pageNum.value),
builder: (context, snapshot) {
if (snapshot.hasData) {
return _buildMainChat(snapshot.data!);
// return _buildGradientContainerWrapprer(
// const ShimmerChatFakeUI());
} else {
return _buildGradientContainerWrapprer(
const ShimmerChatFakeUI());
}
}),
)),
));