Skip to content

SliverFillRemaining fill more than remaining space available  #17444

@asoseil

Description

@asoseil

It seems that SliverFillRemaining fills a space with a height equal to the height of the viewport and not equal to remaining available space.

new CustomScrollView(
        slivers: <Widget>[
          new SliverToBoxAdapter(
          child: new Container(color: Colors.red,
          height: 150.0,
          )),
          new SliverFillRemaining(
            child: new Container(color: Colors.white),
          )
        ],
      )

Metadata

Metadata

Assignees

Labels

f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions