Skip to content

Smooth the path to using a CustomPaint with a paintable ChangeNotifier #7648

Closed

Description

@Hixie

If you have a ChangeNotifier that implements a paint() function, it'd be nice to be able to hand that straight to CustomPaint instead of having to jump through the hoops that Scrollbar jumps through.

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jan 26, 2017
  2. added this to the milestone on Jan 26, 2017
  3. modified the milestones: 2: Make Early Adopters happy, on Feb 28, 2017
  4. abarth commented on Mar 14, 2017

    @abarth
    Contributor

    The trick is to make up a type name with the proper interface given that Dart doesn't have union types.

  5. self-assigned this
    on Apr 18, 2017
  6. github-actions commented on Sep 5, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: API breakBackwards-incompatible API changesframeworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions