zo_animated_border 0.0.3 copy "zo_animated_border: ^0.0.3" to clipboard
zo_animated_border: ^0.0.3 copied to clipboard

A package that provides a modern way to create gradient borders with animation in Flutter

zo_animated_border #

pub package pub points License: MIT

A package that provides a modern way to create gradient borders with animation in Flutter

Getting started #

First, add zo_animated_border as a dependency in your pubspec.yaml file

dependencies:
  flutter:
    sdk: flutter
  zo_animated_border : ^[version]

Import the package #

import 'package:zo_animated_border/zo_animated_border.dart';

Usage #

For Gradient border

gradient_border (online-video-cutter com)

ZoAnimatedGradientBorder(
    width: 200,
    height: 200,
    borderRadius: 100,
    borderThickness: 4,
    gradientColor: [Colors.yellow,Colors.orange],
    duration: Duration(seconds: 4),
    child: Container(
            alignment: Alignment.center,
            color: Colors.black,
            child: Text(
                    "Color",
                    style:TextStyle(color:Colors.black),
                  ),
               ),
            )

For Pulsating border

pulse (online-video-cutter com)

ZoPulsatingBorder(
      type: ZoPulsatingBorderType.pulse,
      borderRadius: BorderRadius.circular(100),
      pulseColor: Colors.blue,
      child: Container(
        alignment: Alignment.center,
          width: 100,
          height: 100,
          decoration: BoxDecoration(
            color: Colors.red,
            borderRadius: BorderRadius.circular(50)),
            child: Text(
                 "Radar Pulse",
               style: TextStyle(color: Colors.white),
                      ),
                    ),
                  )

For MonoChrome border

mono_chrome (online-video-cutter com)

ZoMonoCromeBorder(
  trackBorderColor: Colors.white,
  cornerRadius: 50.0,
  borderStyle: ZoMonoCromeBorderStyle.mirror,
  borderWidth: 5.5,
  child: Container(
          width: 100,
          height: 100,
          alignment: Alignment.center,
          child: Text("Mirror", 
          style:  TextStyle(color: Colors.white)),
          decoration: BoxDecoration(
          color: Colors.red,
          shape: BoxShape.circle,
           ),
        ),
      ),

Feel free to post a feature requests or report a bug here.

29
likes
0
points
894
downloads

Publisher

verified publisherthezerone.com

Weekly Downloads

A package that provides a modern way to create gradient borders with animation in Flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on zo_animated_border