{"repo":"DevsOnFlutter/draggable_home","free":true,"listed":false,"github":"https://github.com/DevsOnFlutter/draggable_home","clone":"git clone https://github.com/DevsOnFlutter/draggable_home.git","description":"A draggable Flutter widget that makes implementing a sliding up and fully-stretchable much easier.","language":"C++","stars":176,"topics":["flutter","appbar","sliver","listview","widget","draggable","scaffold","hacktoberfest","hacktoberfest2021"],"license":"BSD-3-Clause","category":"mobile-apps","readme_excerpt":"Draggable Home A draggable Flutter widget that makes implementing a Sliding up and fully-stretchable much easier! Based on the Scaffold and Sliver. Usage Make sure to check out examples for more details. Installation Add the following line to pubspec.yaml : Basic setup The complete example is available here. DraggableHome requires you to provide title , headerWidget and body : title widget is basically for a title in the AppBar. For no title in AppBar, simply pass an empty Container. headerWidget is the expanded widget just above the body when not fully expanded. body is in the form of Column which requires a list of widget or a widget. Do not add any vertically scrollable widget or you may just disable the scroll. Sample code Arguments There are several options that allow for more control: Properties Description -------------- ----------------- leading A widget to display before the toolbar's title. action A list of Widgets to display in a row after the title widget. drawer Drawers are typically used with the Scaffold.drawer property. centerTitle Allows toggling of title from the center. By default, title is in the center. headerExpandedHeight Height of the header widget. The height is a double between 0.0 and 1.0. The default value of height is 0.35 and should be less than stretchMaxHeight headerWidget A widget to display Header above the body. alwaysShowLeadingAndAction This makes Leading and Action always visible. Default value is false. headerBottomBar AppBar or toolBar ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DevsOnFlutter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DevsOnFlutter/draggable_home/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}