flutter_rainbow_border 0.0.2 copy "flutter_rainbow_border: ^0.0.2" to clipboard
flutter_rainbow_border: ^0.0.2 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,
),
screenshot_2025-03-04

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.

3
likes
140
points
14
downloads

Publisher

verified publisherquoridouble.xyz

Weekly Downloads

Rainbow Border Container

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_rainbow_border