flutter_dash_border_animated 0.0.2 copy "flutter_dash_border_animated: ^0.0.2" to clipboard
flutter_dash_border_animated: ^0.0.2 copied to clipboard

Provides a little package rendering library for all application development by flutter team

flutter_dash_border_animated #

Normal use #

Show Case use

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,
                child: Center(
                    child: Text(
                  'Just Run Square',
                  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),
          ],
        ),
      ),
    );
  }

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

11
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Provides a little package rendering library for all application development by flutter team

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_dash_border_animated