doonfrs / pluto_grid_plus

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
27 stars 28 forks source link

[Feature] Ability to Customize Default Loading Widget #92

Open Murkrow02 opened 1 week ago

Murkrow02 commented 1 week ago

Hi! First of all, thank you for your work on this awesome package! It's been extremely helpful for our project, and the features are excellent.

I would like to ask if it's possible to customize the default loading widget, as I didn't find a way to do this in the documentation. The current stock loading indicator works well, but having the option to tailor it to match our app's design would make for a more seamless user experience.

If there is already a way to customize it that I may have missed, I’d appreciate any guidance. Otherwise, it would be great to consider adding this as an enhancement for more flexible UI customization

doonfrs commented 1 week ago

Hi, @Murkrow02 I don't remember if you can customize it, but you can : _stateManager!.setShowLoading(false);

Disable it and use your loader, you may include the grid inside the stack and show a loader over it, or you may change the grid opacity while it is in the loading state if you do not find a way to customize it from the package.

good luck!

Murkrow02 commented 1 week ago

Thank you for the suggestion!

I’d actually like to display the loading indicator directly over the rows of the table, if possible, rather than using a Stack layout. Having a built-in option to customize the loading state directly on the rows would be an awesome feature to enhance the flexibility of this package!

In the meantime, your workaround should work well. I’ll give it a try. Thanks again for your help!