Issue I am trying to create a fading edge with Flutter’s SliverList. Like this: Here’s my code: class MyWidget extends StatefulWidget { const HymnView({Key? key}) : super(key: key); @override State<MyWidget> createState() => _MyWidgetState(); } class _MyWidgetState extends State<MyWidget> { @override
Continue readingTag: flutter-sliver
ListView.builder is not scrolling in flutter
Issue i’m trying to integrate a listView.builder in my UI! First of all, the whole content of the screen is inside a CustomScrollView that has silver widgets inside of it. Everything works pretty fine unless that my listview is not
Continue readingSlivers equivalent for StatelessWidget
Issue Which class to extend when creating slivers? Say, I have a class FooSliver which returns a widget. class FooSliver extends StatelessWidget { @override Widget build(BuildContext context) { return MaybeSliverWidget(…); } } But I can’t use this class directly in
Continue readingSliverAppBar have an image as a background, circle avatar and title
Issue I am trying to achieve something similar to this where I have background, circle avatar, and title, and when scrolling up the avatar disappears but the title remains. What I have been able to do is get the background
Continue readingHow to animate(stretch & shrink) appbar(PreferedSizedWidget) in flutter?
Issue I’m going to implement some nice animation to sliver appbar’s bottom property. So that when i pressed on the button, it should show up like fadeinDown animation. and at the next time should disappear with fadeOutUp animation. As you
Continue readingError when i called the widget inside view class
Issue Please look this picture. I try to call the widget form and when I call it inside the view class, it shows an error and I don’t know what’s wrong with the code. I’m already importing the class and
Continue readingHow to make flutter page scrollable using slivers
Issue I am trying to implement a sliver in CustScrollView, below is my code @override Widget build(BuildContext context) { return Scaffold( body: CustomScrollView( slivers: [ SliverAppBar( floating: true, snap: true, expandedHeight: 300, flexibleSpace: FlexibleSpaceBar( background: Image.asset( "assets/images/food6.jpg", width: double.maxFinite, fit:
Continue readingA RenderShrinkWrappingViewport expected a child of type RenderSliver but received a child of type RenderFlex
Issue i am new in flutter and firebase integration. i am trying to build mobile app that connect to firestore. i am trying to use paginate firestore in my mobile app. But i got error message that said "A RenderShrinkWrappingViewport
Continue readingSliverList is not showing in FLutter
Issue I’m using SliverAppBar and SliverLsit that’s wrapped in a CustomScrollView. I am trying to build a widget with sliver list but nothing renders, my screen shows completely in blank. The goal is to have a search bar until the
Continue readingHow can I customize SliverAppBar Flutter?
Issue Hi Guys I locking for create app bar Like this with SliverAppBar() widget Like this : And I Tried to make it With SliverAppBar() But The output is like this : Here is Code : Scaffold( drawer: const Drawer(),
Continue reading