tap_to_expand 0.5.7 tap_to_expand: ^0.5.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.
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,
),
),