flutter_dash_border_animated

Last updated:

0 purchases

flutter_dash_border_animated Image
flutter_dash_border_animated Images
Add to Cart

Description:

flutter dash border animated

flutter_dash_border_animated #
Normal use #
image_dash_border_animated
Example! #
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: const Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
SizedBox(
height: 50,
width: 80,
child: DashBorderAnimated(
dashColor: Colors.red,
child: Center(
child: Text(
'Just Run Rec',
textAlign: TextAlign.center,
)),
),
),
SizedBox(height: 20),
SizedBox(
height: 80,
width: 80,
child: DashBorderAnimated(
dashColor: Colors.blue,
isPause: true,
dashRunType: DashBorderRunType.rectangle,
child: Center(
child: Text(
'Just pause',
textAlign: TextAlign.center,
)),
),
),
SizedBox(height: 20),
SizedBox(
height: 80,
width: 80,
child: DashBorderAnimated(
dashColor: Colors.yellow,
dashRunType: DashBorderRunType.rectanglePip,
child: Center(
child: Text(
'Rounded Run',
textAlign: TextAlign.center,
),
),
),
),
SizedBox(height: 20),
SizedBox(
height: 80,
width: 80,
child: DashBorderAnimated(
dashColor: Colors.green,
dashRunType: DashBorderRunType.circle,
child: Center(child: Text('Circle')),
),
),
SizedBox(height: 20),
],
),
),
);
}

copied to clipboard
#Note: Remember you need to wrap DashBorderAnimated inside the widget father that's get it's size

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.