modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

Improvement: make parameters changeable

Open juliansteenbakker opened this issue 4 years ago • 2 comments

This PR makes the parameters changeable so users can tweak it to their own needs. The following parameters are available:

    this.decelerateEasing = const Cubic(0.0, 0.0, 0.2, 1.0),
    this.minFlingVelocity= 500.0,
    this.closeProgressThreshold = 0.6,
    this.willPopThreshold= 0.97,

If not provided, they will use the default values.

juliansteenbakker avatar Nov 04 '21 11:11 juliansteenbakker

@jamesblasco If you need some help with maintaining this package I'm happy to help.

juliansteenbakker avatar Nov 04 '21 11:11 juliansteenbakker

@jamesblasco Could you please look at this PR and merge it?

TheGlorySaint avatar Feb 01 '22 09:02 TheGlorySaint

Sorry for not looking into it before. There have been several PR already that expose some of this parameters so I have exposed the rest in a new PR that did not have so many conflicts . Thanks for the PR 🙏🏻

jamesblasco avatar Sep 05 '22 10:09 jamesblasco