v0.1.2flutter_split_view
利用可能なスペースに基づいて画面を自動的に二つのビューに分割する Flutter ウィジェット。これは Navigator 2.0 を基盤としています。
30いいね 7730日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
Navigator 2.0 をベースにした Flutter ウィジェットで、利用可能なスペースに基づいて画面を自動的に二つのビューに分割します。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A Navigator 2.0 based Flutter widget that automatically splits the screen into two views based on available space.

MaterialApp(
title: 'SplitView Demo',
home: SplitView.material(
child: MainPage(),
),
);
Cupertino:
CupertinoApp(
title: 'SplitView Demo',
home: SplitView.cupertino(
child: MainPage(),
),
);
SplitView.of(context).push(SecondPage());
Push with an optional title, which will be used as the back button's title in Cupertino:
SplitView.of(context).push(
SecondPage(),
title: 'Second',
);
SplitView.of(context).pop();
Pop until the n-th page:
SplitView.of(context).popUntil(1);
SplitView.of(context).setSecondary(SecondPage());
This will clear the stack and push the new page, making it the second page in the stack.
SplitView.of(context).isSecondaryVisible;
依存関係一覧 3 件
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗