flutter_sticky_headers
flutter_sticky_headers copied to clipboard
Flutter Sticky Headers - Lets you place "sticky headers" into any scrollable content in your Flutter app. No special wrappers or magic required. Maintainer: @slightfoot
``` import 'package:flutter/material.dart'; import 'package:sticky_headers/sticky_headers/widget.dart'; //-----Start App void main() => runApp(MyApp()); //-----Entry Point class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return StatelessLink(); } } //-----Statless Link Required...
Hey cool work. I would like to suggest to allow passing a scrollController instead of acquiring the scrollable from the context. The reason i mostly need this is when i...
Sticky is always the same but should be different when it is "snap on the top" and when it is not.
How can I get index of sticked header?
Given code like this: ``` dart ListView.builder( itemCount: 35, itemBuilder: (context, i) { final tile = ListTile(title: Text("My Tile")); if (i % 5 == 0) { return StickyHeader( content: tile,...
I have a listview and I would like to have a sticky header only on certain rows. However, when I do this the sticky header scrolls off as soon as...
In my use case (`Stack-[ListView, CustomAppBar]`) I want custom spacing with sticky headers in `ListView`, so this PR adds the "headerSpacing" field, which is the spacing between the sticky header...
I want to make it safer to add new features/change the current code. I started adding some tests so we can guarantee that the current state is not lost. I...
Currently, pub.dev shows a score of 120/140 for this package due to static analysis warnings. This PR fixes the linter warnings affecting the package score as well as 2 other...