multi_select_flutter icon indicating copy to clipboard operation
multi_select_flutter copied to clipboard

how to change multi select dialog button height

Open aligurelli opened this issue 3 years ago • 1 comments

I can't find how to change dialog button height. what i tried is wrapping it with container but didn't see any effect:

Container(
                   height: 60,
                            child: MultiSelectDialogField<String>(
                            .
                            .
                            :
                            .)

aligurelli avatar Jan 09 '23 14:01 aligurelli

Hi, I was looking for the same solutions and what I found was Text height in style property. Hope it helps u:

return MultiSelectDialogField<String>(
            title: const Text('Selecione as opções'),
            cancelText: const Text('Cancelar'),
            buttonIcon: const Icon(
              Icons.keyboard_arrow_down_outlined,
            ),
            buttonText: const Text(
              'Selecione as opções',
              style: TextStyle(height: 2.5),
            ),....

FoxHere avatar Jun 14 '24 20:06 FoxHere