v0.0.1+1curved_drawer_fork
एक आसानी से उपयोग किया जा सकने वाला एनीमेटेड ड्रॉअर प्रदान करने वाला फ्लटर विजेट।
एनिमेटेड कर्व्ड ड्रॉयर के लिए फ्लटर विजेट
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Flutter widget that provides an easy to use animated drawer.
dependencies:
curved_drawer: ^0.1.2 #latest version
Scaffold(
drawer: CurvedDrawer(
color: Colors.white,
labelColor: Colors.black54,
width: 75.0
items: <DrawerItem>[
DrawerItem(icon: personIcon),
//Optional Label Text
DrawerItem(icon: messageIcon, label: "Messages")
],
onTap: (index) {
//Handle button tap
},
),
body: Container(),
)
items: List of DrawerItems
index: Index of selected item - can be used to change current index or to set initial index
color: Color of drawer - default Colors.white
buttonBackgroundColor: Background color of floating button - default same as color attribute
backgroundColor: Color of NavigationBar's background - default Colors.transparent
onTap: Function handling taps on items
animationCurve: Curves interpolating button change animation - default Curves.easeOutCubic
animationDuration: Duration of button change animation - default Duration(milliseconds: 600)
width: Width of Drawer - default min 50.0, max 100.0
isEndDrawer: Set to true if used as as an end drawer - default is false
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗