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
18 stars 20 forks source link

[Feature] There are things on PlutoGridSettings that aren't customizable #13

Closed Macacoazul01 closed 5 months ago

Macacoazul01 commented 6 months ago

the abstract class PlutoGridSettings defines a big part of the grid visuals and not every parameter defined there is customizable on the creation of the table with PlutoGridStyleConfig.

Using as a sample, we could't find a way to change gridPadding parameter and it breaks the visual in our code (made a fork of the original repo and forced it to be 0 to use there, but this isn't the correct way of solving it on the package).

There should be a way to everything there be the default config but not the only one.

RADeveloping commented 6 months ago

This is one approach:

https://github.com/bosskmk/pluto_grid/commit/123276946313098c20d2e656cb7b0169b2753a41

Macacoazul01 commented 6 months ago

Was this merged here?

Macacoazul01 commented 5 months ago

Added the commit. Gonna merge