v0.0.1+5pinterest_nav_bar
새로운 Flutter 패키지 프로젝트입니다.
26좋아요 430일 다운로드120Pub 점수
AndroidiOSWebmacOSWindowsLinux
NeatFastro/pinterest_nav_bar open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Pinterest app's Like bottom navigation bar.
| Light theme | Dark theme |
|---|---|
![]() |
![]() |
Wrap you [MaterialApp] widget with [PinterestNavBarController] widget
return PinterestNavBarController(
child: MaterialApp(
title: 'Pinterest Nav Bar Example',
home: Pages(),
),
);
Adding the widget
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
floatingActionButton: PinterestNavBar(
currentIndex: selectedPageIndex,
onTap: (i) {
print('PinterestNavBar.onTap($i)');
setState(() {
selectedPageIndex = i;
});
},
items: [
Icons.home,
Icons.search,
Icons.chat_bubble_outline_rounded,
Icons.person
],
),
의존성 목록 3 개
{"sdk":"flutter"}^5.0.0{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗