circle_cursor 0.0.4 copy "circle_cursor: ^0.0.4" to clipboard
circle_cursor: ^0.0.4 copied to clipboard

A Flutter package that replaces the default mouse cursor with a smooth and customizable circular pointer. It enhances UI interactions with an inner and outer pointer effect.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({super.key});

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: CircleCursor(
        innerPointerColor: Colors.purple,
        outerPointerColor: Colors.purple,
        innerPointerRadius: 12,
        outerPointerRadius: 60,
        outerPointerWidth: 4,
        child: Center(
          child: Text(
            'Hover your cursor anywhere on screen',
          ),
        ),
      ),
    );
  }
}
5
likes
160
points
21
downloads

Publisher

verified publisherfusshn.in

Weekly Downloads

A Flutter package that replaces the default mouse cursor with a smooth and customizable circular pointer. It enhances UI interactions with an inner and outer pointer effect.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on circle_cursor