Flyclops / tenor_flutter

An opinionated yet customizable Flutter package for searching and selecting from a list of GIFs/Stickers from the Tenor GIF search API.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Can be change DraggableScrollableSheet initialChildSize #6

Open cnkygmr opened 1 month ago

cnkygmr commented 1 month ago

I want to adjust the height that comes at the beginning. The user can increase it if he wants. For example, if the maximum is 0.9, I want the length to come at the beginning as 0.4.

cnkygmr commented 1 month ago

Or we should be able to set all the values If we do not give a value, the standard one will be used by default.

      initialChildSize: maxChildSize,
      maxChildSize: maxChildSize,
      minChildSize: _sheetProvider.minExtent,
LegendAF commented 1 month ago

I'll dig into this as soon as I can this week. Thanks for the ticket!

LegendAF commented 2 weeks ago

@cnkygmr This turned out to be a bit bigger than expected. I have a path forward and I will have a PR up within the next couple days.