Skip to content

Enhances intuitiveness of RawMagnifier's example #150307

@huycozy

Description

@huycozy

Use case

I'm not quite sure if this is a bug or intention but I feel the current example of RawMagnifier is not intuitive when experiencing it.

Screen.Recording.2024-06-13.at.21.30.21.mov

We can see two issues here:

  1. The Magnifier is not moved when I trigger a pointer down (click/tap..). It only moves when I trigger pan gesture.
  2. The mouse pointer is not inside Magnifier, it's always on the top left.

Proposal

This is Magnifier demo on macOS. Magnifier is always moved along with mouse pointer.

Screenshot 2024-06-16 at 00 48 31

It doesn't have to be the same, but it can be seen that the mouse pointer should be in magnification area. We should solve two issues above to make RawMagnifier's example to be more intuitive.

Metadata

Metadata

Assignees

Labels

c: proposalA detailed proposal for a change to Flutterd: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions