#shorts #flutter #actionchip #widgets
Action chips are displayed after primary content, such as below a card or persistently at the bottom of a screen.
The minimal ActionChip has a label. It’s a disabled chip. If you want to perform actions on tap of it and make it enable, use `onPressed`.
You can also give style to the label.
You can add `labelPadding` as well, which will add padding to the label.
Add an avatar or icon for the chip. This will appear towards left of the label.
Even you can add some accessibility. If you long press the chip you will see a tooltip.
You can customise the UI of this chip by giving custom border.
The shape can also be changed to any shape.
Background color for chip can also be customised.
This was all about flat chip. But, you can make it elevated.
Use the `elevated` type of ActionChip.
And then `elevation` and `pressedElevation` can be used.
Since, now we have elevated type. Giving a shadow also a possibility.
And surface tint color as well.
And last one is disabled color.
Nominate as a Github Star: https://bit.ly/3dLXFWJ (@TechieBlossom)
Support Us in any of the below ways:
💜 / techieblossom
💜 https://www.buymeacoffee.com/AGd0Xngci
Contributions:
👨🏻💻 / prateeksharma
👨🏻💻 https://www.github.com/TechieBlossom
Feel free to connect with me:
🤝 / sharmaprateek7
🤝 https://www.topmate.io/prateeksharma
Nesta página do site você pode assistir ao vídeo on-line 04 - ActionChip | duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário TECHIE BLOSSOM 09 Novembro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 261 vezes e gostou 13 espectadores. Boa visualização!