tap_to_expand 0.2.7
tap_to_expand: ^0.2.7 copied to clipboard
This package is to build expandable widget fast and easy with few lines and you can customize it to whatever!.
Features #
- include your content easliy
- you can make it scroll by setting scrollable to true
- some beautiful animation
Getting started #
To use this plugin, add tap_to_expand
as a dependency in your pubspec.yaml file.
![Package photo](https://previews.dropbox.com/p/thumb/ABnGGt0t2h3lUuUOcvHKwR4C_fd924WSvF4iDBKwOdhXLDag06ozpvJjgV1RaR23Q7wTWWyHGF8azlNOAmTw3LjyFs-qn7jd9eb59N0nv5Ke_2XPHSZ1afTmOSEZzzcu8TZzLevBI2tr_vHBFwOmhQq2qCBDRzXkC7jbddRurOyI6SeuervdEFR81Pyl0C-cG4ZBFGv56lPztfI0QF-lCfzwghh45LFj4OucjtiO_gMvOgvvcRbfbCkYp18xVHezHyNg1SWfZtXhovdcx0uRdmKbTxlNjOr8f8qqVKSmbf3s5OtSDhmiWjjOPboFoDXa5_SaCzjg61dAHwJFt0Vy6N9d-fK4k9WF58bo2XiHLQrDlkECsxFXZfu4bAiFUWoKSI4/p.gif)
Usage #
Here is How to use it, You can find Package API
Center(
child: TapToExpand(
content: Column(
children: <Widget>[
for (var i = 0; i < 20; i++)
Text(
"data $i",
style: const TextStyle(color: Colors.white, fontSize: 20),
),
],
),
title: const Text(
'TapToExpand',
style: TextStyle(
color: Colors.white,
fontSize: 20,
),
),
onTapPadding: 10,
closedHeight: 70,
scrollable: true,
borderRadius: 10,
openedHeight: 200,
),
),