v2.0.2flutter_onboarding_screen
개발자가 앱의 온보딩 화면을 만들 수 있도록 도와주는 플러터 패키지입니다.
개발자가 앱의 온보딩 화면을 만들 수 있도록 도와주는 플러터 패키지입니다.
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A new Flutter package for both android and iOS which help developer in creating a onboarding screen of their app.
Bitbucket open issues
https://i.imgur.com/nFHnEOA.jpg
To use this package :
dependencies:
flutter:
sdk: flutter
flutter_onboarding_screen:
class TestScreen extends StatelessWidget {
/*here we have a list of OnbordingScreen which we want to have, each OnbordingScreen have a imagePath,title and an desc.
*/
final List<OnbordingData> list = [
OnbordingData(
imagePath: "images/pic11.png",
title: "Search",
desc:"Discover restaurants by type of meal, See menus and photos for nearby restaurants and bookmark your favorite places on the go",
),
OnbordingData(
imagePath: "images/pic12.png",
title: "Order",
desc:"Best restaurants delivering to your doorstep, Browse menus and build your order in seconds",
),
OnbordingData(
imagePath: "images/pic13.png",
title: "Eat",
desc:"Explore curated lists of top restaurants, cafes, pubs, and bars in Mumbai, based on trends.",
),
];
@override
Widget build(BuildContext context) {
/* remove the back button in the AppBar is to set automaticallyImplyLeading to false
here we need to pass the list and the route for the next page to be opened after this. */
return new IntroScreen(list,MaterialPageRoute(builder: (context) => NextScreen()),
);
}
}
https://img.shields.io/badge/twitter-%231DA1F2.svg?&style=for-the-badge&logo=twitter&logoColor=white https://img.shields.io/badge/linkedin-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white https://img.shields.io/badge/medium-%2312100E.svg?&style=for-the-badge&logo=medium&logoColor=white https://img.shields.io/badge/tusharnikam.ml-portfolio-orange Stackoverflow Buy Me A Coffee