expandable_card
A Sliding Card widget for flutter
- Stars
- 110
- Forks
- 15
- Last push (UTC)
- Nov 27, 2019
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
Expandable Card
This is a Flutter Widget that makes it easy to build a page with a bottom Card that can be expanded on user drag.
How to use it
Use ExpandableCardPage for the body of your Scaffold. This widget will take two attributes:
Widget page: which is the default page in the backgroundExpandableCard expandableCard: which is the bottom card itself. You can call theExpandableCardconstructor to build one.
ExpandableCard constructor has a few attributes:
EdgeInsetsGeometry padding: padding inside the card. Default value isEdgeInsets.all(15)double minHeight: default height of the card when it's not expanded. Default value is200double maxHeight: height of the card when it's fully expanded. Default value is500bool hasShadow: determines whether the card has box shadow or not. Default istrueColor backgroundColor: background color of the card. Default isColors.blueGreybool hasRoundedCorners: determines whether the card has rounded corners or not. Default isfalsebool hasHandle: will add a little handle icon. Default istrueList<Widget> Children: Widgets that make the actual content of the card
Future Implementations:
AnimatedExpandableCard: will allow animation between closed state and expanded state.- Add suport for scrolling card when its fully expanded
LanguagesDartObjective-CJava
Dependencies used
Dependency list 3 items
- flutter
{"sdk":"flutter"} - cupertino_icons
^0.1.2 - flutter_testDevelopment
{"sdk":"flutter"}
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- Bernardi23/expandable_card · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Directory maintained by Ducafecat ↗
