fancy_cursor 0.1.1
fancy_cursor: ^0.1.1 copied to clipboard

Flutter Android iOS web

Make your web site look unique with 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 #

OptionTypeDefault
childWidget*required
trailbooleantrue
colorColorColors.black
sizedouble8
delayDurationconst Duration() - 0ms
curveCurveCurves.elasticOut
customCursorWidgetnull
trailColorColorColors.black.withOpacity(0.3)
trailSizedouble16
trailDelayDurationconst Duration(milliseconds: 500)
trailOpacityCurveCurves.elasticOut
trailCustomCursorWidgetnull

Buy Me A Coffee

13
likes
100
pub points
36%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

zeshan.nandan@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on fancy_cursor