flutter_placeholder_textlines
flutter_placeholder_textlines copied to clipboard
add property is lineSpaceHeight and borderRadius and animate duration.
-
lineSpaceHeight
- you can set the line spacing size.
-
borderRadius
- you can create placeholders with rounded corners.
-
animateDuration
- add animation Speed.
-
A sample project was created for the latest flutter version.
-
sample code
Widget _buildLineSpaceHeightOrRadiusOrAnimateDuration() {
return Container(
width: 300,
child: PlaceholderLines(
count: 3,
animate: true,
color: Colors.purple,
lineSpaceHeight: 2,
borderRadius: BorderRadius.circular(8.0),
animateDuration: const Duration(seconds: 5),
),
);
}
-
default
-
new