fullscreen_scroll_view 1.0.0 copy "fullscreen_scroll_view: ^1.0.0" to clipboard
fullscreen_scroll_view: ^1.0.0 copied to clipboard

outdated

This is SingleChildScrollView but Expanded and Flex are available

FullScreenScrollView #

SingleChildScrollViewにExpandedを入れたくなったことはありませんか? 私はあります。
例えば、常に一番下にボタンを配置し、上の部分が多くなったり、画面が小さくなったら余白部分が小さくなり、
余白が足りなくなったらスクロールしてほしい。
そんな場合に使えます。

[/assets/demo.gif?raw=true&v1]

利用方法 #

動作するコードは/exampleにございます。
簡単にはこんなコードで使います。

FullScreenScrollView(
  child: Column(
    children: <Widget>[
      const Text('some widget'),
      const Expanded(child: SizedBox.shrink()),
      ElevatedButton(
        onPressed: _incrementCounter,
        child: const Row(
          children: [Icon(Icons.add), Text('Add widget')],
        ),
      ),
    ],
  ),
)
10
likes
0
points
41
downloads

Publisher

verified publisherhiba.quest

Weekly Downloads

This is SingleChildScrollView but Expanded and Flex are available

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on fullscreen_scroll_view