fancy_cursor 0.1.0 copy "fancy_cursor: ^0.1.0" to clipboard
fancy_cursor: ^0.1.0 copied to clipboard

outdated

Make your web site look unique. Simple yet powerful custom cursor package for you app.

fancy_cursor #

pub package License GitHub code size in bytes

Simple yet super flexible custom cursor plugin.

Usage #

Wrap the entire app or a widget with the FancyCursor()

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

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: FancyCursor(
        child: MyHomePage(),
      ),
    );
  }
}

Options #

Option Type Default
child Widget *required
trail boolean true
color Color Colors.black
size double 8
delay Duration const Duration() - 0ms
curve Curve Curves.elasticOut
customCursor Widget null
trailColor Color Colors.black.withOpacity(0.3)
trailSize double 16
trailDelay Duration const Duration(milliseconds: 500)
trailOpacity Curve Curves.elasticOut
trailCustomCursor Widget null

Buy Me A Coffee

25
likes
0
pub points
23%
popularity

Publisher

unverified uploader

Make your web site look unique. Simple yet powerful custom cursor package for you app.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on fancy_cursor