bottomPadding static method

SliverToBoxAdapter bottomPadding()

带底部padding的Sliver

Implementation

static SliverToBoxAdapter bottomPadding() {
  return SliverToBoxAdapter(
    child: Builder(
      builder: (context) {
        return SizedBox(
          height: MediaQuery.of(context).padding.bottom,
        );
      },
    ),
  );
}