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

outdated

Custom cursor support for Flutter (for hovering on web)

example/flutter_cursor_example.dart

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

void main() => runApp(new CursorExample());

class CursorExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'flutter_cursor example',
      home: Scaffold(
        appBar: AppBar(
          title: Text('flutter_cursor example'),
        ),
        body: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: <Widget>[
            Center(
              child: HoverCursor(
                cursor: Cursor.move,
                child: RaisedButton(
                  child: Text("Move Cursor"),
                  onPressed: () {},
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}
21
likes
0
pub points
0%
popularity

Publisher

verified publishercretezy.com

Custom cursor support for Flutter (for hovering on web)

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, universal_html

More

Packages that depend on flutter_cursor