flutter_rainbow_border 0.0.1 copy "flutter_rainbow_border: ^0.0.1" to clipboard
flutter_rainbow_border: ^0.0.1 copied to clipboard

Rainbow Border Container

Static Badge Static Badge Static Badge

Features #

This package allows you to create a rotating rainbow border. For more information, see the documentation below.

Getting started #

Install the package using the following command:

flutter pub add flutter_rainbow_border

Import the package in your dart file using the following code:

import 'package:flutter_rainbow_border/flutter_rainbow_border.dart';

Usage #

RainbowBorder(
    width: 300,
    height: 300,
    border: 4,
    borderRadius: 10,
),

Available Properties #

Property Type Description
width double Container width
height double Container height
border double Border thickness
borderRadius double Border corner radius
isRotating bool Enables rotation
fixedRotation double Fixed rotation angle (range: 0~360 degrees)
isClockwise bool Rotation direction (default: true)
rotationDuration Duration Determine the rotation speed (default: 3 seconds)
backgroundColor Color Background color (default: transparent)
child Widget Child widget inside

Author #

This package is developed by Jungi Kim.