Flutter - Change New Button's Sizes (Width/Height) | ElevatedButton, TextButton & OutlinedButton

Flutter Mentor
Flutter Mentor
18.4 هزار بار بازدید - 3 سال پیش - Now that there are 3
Now that there are 3 new types of buttons in Flutter, we need to know how to manipulate or rearrange their size according to our needs.

Well, fortunately the Flutter team has made it simpler to control both the minimum width and height of any of these new Flutter buttons that were introduced in version 1.22.

In this video, you can also find out how to give an OutlinedButton a custom border, how to give padding to these buttons and also a really small mention of color properties of the ElevatedButton.

For more on how to style these buttons please check out this video:
Flutter - Differences Of The New Butt...

00:00 - Intro
00:40 - Padding The Buttons
01:03 - Style Property From Scratch
01:35 - Short Color Explanation
01:50 - Changing The OutlinedButton's Border
02:05 - Changing The Buttons' Size (Width & Height)
03:35 - Easter Egg
03:48 - Flutter Mentor Out

#elevatedbutton #textbutton #outlinedbutton
Credits:

OUTRO SONG:
Mitsubachi by Smith The Mister https://smiththemister.bandcamp.com
Smith The Mister https://bit.ly/Smith-The-Mister-YT
Free Download / Stream: http://bit.ly/mitsubachi
Music promoted by Audio Library Mitsubachi – Smith The Mister (No Cop...
3 سال پیش در تاریخ 1400/01/09 منتشر شده است.
18,490 بـار بازدید شده
... بیشتر