star_trail 1.0.0 copy "star_trail: ^1.0.0" to clipboard
star_trail: ^1.0.0 copied to clipboard

A Flutter package for creating a star trails animation effect with circular motion, fading inner radii, and shorter trails near the center.

StarTrail #

A Flutter widget that creates a star trails animation effect with circular motion, fading inner radii, and shorter trails near the center.

Usage #

Add the star_trail.dart file to your project and use it as follows:

import 'package:flutter/material.dart';
import 'star_trail.dart'; // Import the file

void main() {
  runApp(MaterialApp(
    home: Scaffold(
      body: StarTrail(),
    ),
  ));
}

Number of Stars: 250 (customizable via numberOfStars)

Duration: 180 seconds for one full rotation

Fading Effect: Inner 10% of stars fade in opacity and have shorter trails


By Lakshman Turlapati

0
likes
130
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for creating a star trails animation effect with circular motion, fading inner radii, and shorter trails near the center.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on star_trail