Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content should not go bellow header if overlapHeaders: false #31

Open
fralways opened this issue Feb 20, 2020 · 1 comment
Open

Content should not go bellow header if overlapHeaders: false #31

fralways opened this issue Feb 20, 2020 · 1 comment

Comments

@fralways
Copy link

Currently when scrolling some list and we have a sticky header in it, all content goes bellow header. Expectation is that content goes up until the header and then disappears.

This is especially important if a header doesn't have background color (transparent) which currently is not possible to have because of the issue i described.

@fralways fralways changed the title content should not go bellow header if overlapHeaders: false Content should not go bellow header if overlapHeaders: false Feb 20, 2020
@stngcoding
Copy link

just use Stack and put a black Container at the top
header: Stack( children: [ Container( decoration: const BoxDecoration( color: Colors.black, ), height: 32, ), Container( decoration: BoxDecoration( color: AppColor.white_opacity10, ), height: 32, alignment: Alignment.center, child: SimText.caption2( 'Example', color: TextColor.captionText, textAlign: TextAlign.center, ), ), ], ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants