Skip to content

rwr9857/flutter-rainbow-border

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Flutter package for rainbow border developed by Jungi Kim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published