bouncing_spinner 0.0.2 copy "bouncing_spinner: ^0.0.2" to clipboard
bouncing_spinner: ^0.0.2 copied to clipboard

Bouncing Spinner package project.

example/lib/main.dart

import 'package:bouncing_spinner/bouncing_spinner.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return BouncingSpinner(
      length: 5,
      radius: 25,
      duration: const Duration(seconds: 1),
      color1: Colors.purple,
      color2: Colors.deepPurple,
    );
  }
}
2
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Bouncing Spinner package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on bouncing_spinner