Back to Browse

Text Widget Properties in Flutter | Flutter Tutorials In Hindi | #63

19.5K views
May 10, 2021
7:56

In the Flutter framework, the Text widget has a number of properties that you can use to customize its appearance and behavior. Some of the most commonly used properties of the Text widget are: data: This property specifies the text to display. It can be a String, a String with a String interpolation, or a String with a String literal. style: This property specifies the style of the text, such as the font, color, and size. It can be a TextStyle object or a TextStyle factory. textAlign: This property specifies the alignment of the text within the widget. It can be one of the values from the TextAlign enum, such as TextAlign.left, TextAlign.center, or TextAlign.right. overflow: This property specifies how the text should be rendered when it overflows the widget's bounds. It can be one of the values from the TextOverflow enum, such as TextOverflow.clip, TextOverflow.ellipsis, or TextOverflow.fade. maxLines: This property specifies the maximum number of lines that the text should be allowed to occupy. If the text overflows the widget's bounds and exceeds the maximum number of lines, it will be truncated and an ellipsis will be added. textScaleFactor: This property specifies the scale factor to apply to the text. It can be used to adjust the size of the text relative to the default size Blog: https://www.ahirlog.com/2022/11/text-widget-properties-in-flutter.html ---------------------------------- Text Widget in Flutter | Flutter Tutorials In Hindi | #62 https://youtu.be/t9NlcAIxMgc Null Safety in Dart | Flutter Null Safety Explained | #58.3 https://youtu.be/qwnZEBoLdtM Difference Between Stateless Widget and Stateful Widget in Flutter | #61 https://youtu.be/462zVL4U0M8 Generics in Dart | Dart for Flutter | #58.2 https://youtu.be/eEdKj1s4Fmo Enums in Dart | Enumerations | Flutter in Hindi | #58.1 https://youtu.be/sKR9i_Zqc5E What is a Flutter Widget? | Widget Types | Flutter Widgets Explained | #60 https://youtu.be/7rXDaNAAeak ---------------------------------- My YouTube Gear: Boya BYM1(Mic): https://amzn.to/3bvm69j Redmi Note 7 Pro(Mic & Camera): https://amzn.to/3uRkVsb MSI Motherboard: https://amzn.to/3fiQHYO Intel i3 Processor: https://amzn.to/3w8TWbQ Mouse: https://amzn.to/3yb8PMP Keyboard: https://amzn.to/3bvmtkd Wifi Adaptor: https://amzn.to/3fiQYuO SSD: https://amzn.to/3w2w2Pa Speakers: https://amzn.to/3w6pKhv Instagram: https://www.instagram.com/ahirlog/ Facebook: https://www.facebook.com/ahirlog Twitter: https://twitter.com/ahirlog YouTube: https://www.youtube.com/ahirlog #ahirlog #flutter #dart Last Summer by Ikson: http://www.soundcloud.com/ikson​ Music promoted by Audio Library https://youtu.be/n2oTA5JSk80

Download

0 formats

No download links available.

Text Widget Properties in Flutter | Flutter Tutorials In Hindi | #63 | NatokHD