group_button icon indicating copy to clipboard operation
group_button copied to clipboard

added ElementGroupButton

Open andrezanna opened this issue 2 years ago • 6 comments

Created class ElementGroupButton to support external edit of the list like in case of reset buttons or similar.

andrezanna avatar Sep 25 '21 09:09 andrezanna

It is not entirely clear why this functionality is made Please describe in more detail

For example I'm using your package for creating some filters. I have a "reset filters", i reset all the arrays used for filtering (some of them are used in 'selectedButtons') but the GroupButton widget doens't update (I'm using scoped_model for state management, so notifyListeners() doesn't work)

Errichamonda avatar Oct 08 '21 14:10 Errichamonda

https://user-images.githubusercontent.com/27011744/136598269-4622956f-092c-48bf-b3d6-07551d940d6b.mp4

As @Errichamonda pointed I needed more control on these buttons, since i'm using it for a filter page. I get values saved in shared prefs and can reset externally. Hope the video attached clears my intention.

andrezanna avatar Oct 08 '21 17:10 andrezanna

Sorry for answering so late. I didn't see any comments until this moment. This is a good functionality, but I think not everyone needs it. Now I have added a Group Button controller to work with the package logic and am trying to make a button Builder for the new version in order to customize the UI elements.

Frezyx avatar Feb 12 '22 15:02 Frezyx

@andrezanna I will gladly accept your features and changes to the package if you reduce they personality and adjust the code to the current functionality of the package

Frezyx avatar Feb 12 '22 15:02 Frezyx

@andrezanna
I want to say that I like the UI of your application. 👍🏻 I am very glad if the package could help you achieve your goals at a certain time

Frezyx avatar Feb 12 '22 15:02 Frezyx

@Frezyx Many thanks. Can you explain me better what you mean by reduce the personality? I tried to maintan general purpose as your package.

andrezanna avatar Feb 12 '22 16:02 andrezanna