flickr static method

Widget flickr({
  1. required Color leftDotColor,
  2. required Color rightDotColor,
  3. required double size,
  4. int time = 2000,
})

Similar to flickr loading animation. Two disks swap positon and come back to initial. Required leftDotColor is applied to the left disk. Required rightDotColor is applied to the right disk. Time is in milliseconds which is optional.

Implementation

static Widget flickr({
  required Color leftDotColor,
  required Color rightDotColor,
  required double size,
  int time = 2000,
}) {
  return Flickr(
    leftDotColor: leftDotColor,
    rightDotColor: rightDotColor,
    size: size,
    time: time,
  );
}