Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover effects tutorial deprecated. #107

Open
wilpar opened this issue Sep 24, 2020 · 1 comment
Open

Hover effects tutorial deprecated. #107

wilpar opened this issue Sep 24, 2020 · 1 comment

Comments

@wilpar
Copy link

wilpar commented Sep 24, 2020

Love ya man, but your hover tutorial should be put to rest. Hover pointers can now be set simply:

import 'package:flutter/rendering.dart';


FocusableActionDetector(
  mouseCursor: SystemMouseCursors.click,
  child: GestureDetector(
    onTap: () {
      Navigator.popUntil(context, ModalRoute.withName('/'));
    },
    child: Image.asset(
      'filledstacksrocks.png',
      height: 48,
    ),
  ),
),

@FilledStacks
Copy link
Owner

haha, nooooooooo 😢 i can't put it to rest. i'll leave it up there in case anyone wants to know the internals of how it was built. It still shows usage of extensions to improve UI building as well which I think is pretty helpful. especially the animate extension based on UI interactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants