color_transition

A dart package for continuous color transition.

Usage

A simple usage example:

import 'package:color_transition/color_transition.dart';

colorTransition = new ColorTransition(callback: (currentColor){
    print(currentColor);
}).init();
propertiesdescription
currentColorRGB color in List<int>, defaults to List<int> [255, 255, 255] (optional)
callbackFunction called after every transition (optional)
fpsdefaults to int 30 (optional)
durationdefaults to int 3 (optional)
methodsdescription
initstarts color transition
generateRGBReturns List<int> representing a random RGB value
cancelends/cancels color transition

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

color_transition