v2.0.0cupertino_stackview
iOS 13 스타일의 스택을 사용하기 위한 매우 사용하기 쉬운 네비게이션 도구/위젯입니다.
aliyigitbireroglu/flutter-cupertino-stackview open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A very easy-to-use navigation tool/widget for having iOS 13 style stacks.
It is highly recommended to read the documentation and run the example project on a real device to fully understand and inspect the full range of capabilities.
Media | Description | Installation | How-to-Use
Watch on Youtube:
The "StackView" system, as I like to call it because I don't know the real name, is now the default navigation system for iOS 13. As a fan of this, I decided to implement a very easy-to-use version of it for Flutter as well.
First, instantiate the cupertinoStackViewController that is provided by "misc.dart" with the required parameters:
cupertinoStackViewController = CupertinoStackViewController(
navigatorState,
{
"Page I": (BuildContext context, dynamic parameters) {
return PageI();
},
"Page II": (BuildContext context, dynamic parameters) {
return PageII();
},
"Page III": (BuildContext context, dynamic parameters) {
return PageIII();
},
"Page IV": (BuildContext context, dynamic parameters) {
return PageIV();
},
...,
},
);
Then create a CupertinoStackView widget as shown in the example:
CupertinoStackView(
true, //_isPrimary
"Page I", //_navigation
Scaffold(...), //_child
Colors.black, //_backgroundColor
{Key key,
radius : Radius.circular(10.0)})
Further Explanations:
For a complete set of descriptions for all parameters and methods, see the documentation.
Any help, suggestion or criticism is appreciated!
Cheers.
사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗