TapToExpandLetter(
// autoClose: false, default is true
title: constText(
'Tap to Expand',
style: TextStyle(
color: Colors.white,
fontSize: 16,
fontWeight: FontWeight.w600),
),
content: Column(
children: const [
Text(
'Feel free to use the code in your projects but do not forget to give me the credits adding (Flutter Animation Gallery) where you are gonna use it.',
style: TextStyle(
color: Colors.white,
fontSize: 18,
fontWeight: FontWeight.w400,
),
),
// Image.asset(// 'assets/image_ex.png',// width: 150,// height: 150,// ),
],
),
centerWidget: constIcon(
Icons.expand_less_rounded,
size: 50,
))
],
),