Flutter_Pinput icon indicating copy to clipboard operation
Flutter_Pinput copied to clipboard

Provide a way to disable the cursor animation

Open vHanda opened this issue 1 year ago • 2 comments

Hello.

I've been using these tests with some integration tests, and it results in them being stuck as they often have steps which wait for no more paints to occur. With this widget, the cursor keeps blinking no matter what, and therefore the paints never stop.

vHanda avatar Sep 06 '22 15:09 vHanda

Hey, did you try showCursor flag?

Tkko avatar Sep 06 '22 15:09 Tkko

I did. However, what would be ideal is to have some way to show the cursor, but not animate it.

This also seems to interfere with golden tests, as they also rely on all the painting finishing.

vHanda avatar Sep 06 '22 15:09 vHanda

Hey, sorry for the late response.

2.2.13 -03/10/2022

  • Bumped minimum Flutter SDK version to 2.0.0
  • Added
    Property Meaning/Default
    isCursorAnimationEnabled true

Tkko avatar Oct 03 '22 17:10 Tkko

@Tkko : Please, nothing to apologize for.

I'm super happy that you've even solved this. You're providing an awesome open source project, and I'm just happy for this extra package.

Thank you for solving this issue.

If you're ever in Barcelona, Spain, please shout out, I owe you a beer.

vHanda avatar Oct 04 '22 18:10 vHanda