Last updated:
0 purchases
animated mouse cursor
animated_mouse_cursor #
This Flutter package create beautiful custom mouse cursor on flutter web
Demo #
Installation #
Add this to your pubspec.yaml file:
dependencies:
animated_mouse_cursor: <latest-version>
copied to clipboard
or
flutter pub add animated_mouse_cursor
copied to clipboard
Implementation #
Import the package in your Dart file:
import 'package:animated_mouse_cursor/animated_mouse_cursor.dart';
copied to clipboard
Usage #
The AnimatedCursor widget allows you to create a defualt cursor for your mouse you can wrap this widget in MaterialApp or a single Widget.
MaterialApp(
title: 'Animated Cursor Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: AnimatedMouseCursor(
child: const MyHomePage(title: 'Animated Cursor Demo'),
),
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.