Last updated:
0 purchases
fancy cursor
fancy_cursor #
The custom cursor for your custom cursor areas. Simple widget 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(),
),
);
}
}
copied to clipboard
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
Contributing #
Contributions, Issues, and feature requests are welcome!
Feel free to check issues page.
Show your support #
Give one ⭐️ if this project helped you!
License #
Copyright © 2021 Seshan K S.
This project is MIT licensed.
Made with 💚, From Seshan.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.