Closed d-adamkiewicz closed 3 months ago
- void _handlePubEventButton() { + void _handlePubEventButton(String filterValue) { - filterValue: 'a', + filterValue: filterValue, - createHeader: (e) => TextButton( - onPressed: _handlePubEventButton, - child: const Text('put event'), - ), + createHeader: (e) => Row(children: [ + for (var k in ['a', 'b', c.']) + TextButton( + onPressed: () => _handlePubEventButton(k), + child: Text(k), + ) + ]),
Great widget!!!. As you can see I modified script a bit to be able to use List to create Row of buttons - it seems to work fine. but I failed to use Future<List> and FutureBuilder()/ListViev.builder() to do the same - is this doable?
List
Row
Future<List>
FutureBuilder()/ListViev.builder()
_Originally posted by @d-adamkiewicz in https://github.com/bosskmk/pluto_grid/issues/438#issuecomment-1910093588_
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Great widget!!!. As you can see I modified script a bit to be able to use
List
to createRow
of buttons - it seems to work fine. but I failed to useFuture<List>
andFutureBuilder()/ListViev.builder()
to do the same - is this doable?_Originally posted by @d-adamkiewicz in https://github.com/bosskmk/pluto_grid/issues/438#issuecomment-1910093588_