change font size in flutter

Text(
  'Some text',
  style: TextStyle(
    fontSize: 24,
    fontWeight: FontWeight.bold),
)

3
1
A-312 69370 points

                                    child: Text(
	'Hello World! This is a text widget.',
    style: TextStyle(fontSize: 25),
)

3 (1 Votes)
0
5
5
Awgiedawgie 440220 points

                                    /// Android has different 'textscalefactor' settings, like:
  /// 'Small: 0.85', 'Default: 1.0', 'Large: 1.15', 'Largest: 1.3'
/// To make sure the text in your app stays as you intended it to,
  /// use the MediaQuery Widget to overwrite the system default:
@override
  Widget build(BuildContext context) {
    return MediaQuery(
      data: MediaQuery.of(context).copyWith(textScaleFactor: 1.15), // Large
      child: Scaffold(),
    ),
  };      

5 (5 Votes)
0
3.5
2
Awgiedawgie 440220 points

                                    new MaterialButton(
  height: 140.0,
  minWidth: double.infinity,
  color: Theme.of(context).primaryColor,
  textColor: Colors.white,
  child: new Text(
    "material button",
    style: new TextStyle(
      fontSize: 20.0,
      color: Colors.yellow,
    ),
  ),
  onPressed: () => {},
  splashColor: Colors.redAccent,
);

3.5 (2 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
custom font size flutter flutter font ize how to decrease text fontsize based on the text's length in flutter how to resize a text font depending on its length in flutter Html + flutter + fontsize what is the defauld fontsize of text in flutter flutter text font size increase flutter font height how to change color and fontsize of text flutter How to change font and font size in flutter font size main flutter how to make a dynamic font size in flutter flutter get fontsize flutter how to modify the the size of a text How to give the correct font size and color for the app in flutter increase font size of text in flutter web flutter change font size of app flutter font text size flutter set default font size change font size using provider flutter flutter dynamic font size how to increase Text size flutter default font size unit flutter flutter get current font size flutter change font size dynamically set font size flutter font size change in ios and android ui flutter set font size on flutter flutter increase font size scale default font in flutter change font size flutter dart flutter change font size text how to implement a change font size in flutter how can set font size in flutter flutter only change font size set font size in percentage flutter increase size of text in flutter change the font size of editor in flutter how to chang the font size of editor in flutter flutter costum font increase text size flutter default font size flutter how to change font size in flutter flutter can't change default font size flutter change default font size flutter increase text size flutter font size on android flutter default font size flutter font typo in word change font in text flutter giving text color in flutter font size of text in flutter how to change font size of text in flutter use a textstyle flutter font size text flutter how to use the flutter default font style font flutter flutter text style body flutter TextSpan cstyle color flutter how to italic TextStyle text size flutter change text color text font size flutter flutter new text size flutter new text color text style bold flutter flutter text length color flutter set different text styles default font family in flutter text color set in flutter text size in flutter change text color dart flutter textstyle fontsize fontsize flutter how to use the font family in flutter text fond bold in flutter size text flutter how to set font size in flutter how to change font family of text in flutter text decoration in flutter bold flutter flutter select h1 text style opensans flutter make bold font fullter dart text italic text fontstle flutter flutter text font Pdf Style fontweight flutter TextStyle negrita flutter which method is called when textstyle is used flutter change text size flutter flutter set text colour TextStyle(fontWeight flutter apply italic flutter change font flutter bold flutter character size Text widget underline color flutter flutter title size flutter text style coloe why text in Align color red and big in flutter fontsize in flutter textStyle Color text flutter font family cursive flutter flutter built in font family how to increse labeltext size in textfield in flutter flutter defaulet font family how to change font app in flutter flutter new text blod fontsytles flutter family font example in flutter flutter change text height flutter textstyle default font family flutter text default font family style: TextStyle( color: Colors.purple[900], fontWeight: FontWeight.bold, fontSize: 50, fontFamily: ), flutter text font family bold font in flutter how to change text color in flutter them flutter font family text weight in flutter icon default size flutter flutter how to use text style font stretch flutter change defalut text size flutter flutter style text bar to change font size flutter change font size flutter ui font flutter flutter changing text size font size flutter text dart change font size flutter assets font style values size text flutter\ Flutter Text customize class flutter change color of text text size dart font size change based in mobile flutter changing fonts in flutter how to make font bold in text flutter how to make text italic in flutter how to set default font in flutter font style in Text using flutter color tectfrom flutter text default font size flutter how to add a bold effect in flutter text suze widget flutter flutter text change font size Flutter apply specific styles to text change font in flutter how to add color in text widget in flutter how to set fonts of text in flutter string textstyle to text style flutter flutter font family list make text bold flutter change font size flutter override some property of textstyle in flutter text bold between text in flutter how to make bold text in flutter text stype flutter how to chnage text size on button flutter text font family flutter list flutter set default font family how to change text color flutter text style for tree flutter style: TextStyle(fontWeight: ) flutter make bold in textstyle flutter how to change selected font style flutter textstyle android flutter italic text width Text Style flutter italic text width TextStyle flutter text style flutter example style part of text flutter flutter add texts as user change text font in flutter flutter set text size COLOR IN TEXT FLUTTER flutter font italic Text Style flutter durchgeschnitten flutter make part of text bold and color flutter make text bold font size in flutter how to increase text size in flutter font option in flutter how to change the font bold in flutter Schriftarten flutter font family in flutter font color in flutter text bold in flutter textstyle in dart flutter flutter textstyle bold the defualt textStyle in Text widget flutter flutter use text font update style text widget flutter edit style of Text Widget available flutter style: TextStyle( fontSize: 22, color: Colors.black, fontWeight: FontWeight.w700, fontStyle: FontStyle.italic, ), flutter TextStyle modify flutter text style opacity FLutter font styke textstyle flutter italic import flutter text color font flutter custom text property bold in flutter font family types in dart set font style in flutter assets flutter font types define text style for heading in flutter bold wiget flutter font size double flutter sample code flutter default font flutter use open sans change fonts in entire app flutter flutter css text style make text bold in flutter change font size in flutter how to increase font size in flutter text dart color Stryling text in flutter flutter text style to text in flutter Styling very large text in flutter flutter make text italic color not appaending to style: TextStyle() Dart add color to text dart flutter set default font change text color in dart change font flutter font style flutter color to text flutter text color and font size flutter flutter change text color and size make font bold flutter font style in flutter change text color in flutter textstyle flutter dart set fontfamily flutter weight text flutter set font size change text colour fluttert style: TextStyle( fontFamily: FontFamily.angkor, fontSize: 50, package: 'khmer_fonts', ), change font family flutter flutter italic text flutter cursive font flutter bold text custom font textstyle flutter text italic flutter text text styler flutter Text( "Select Card (${(currentPage Value + 1).floor()}/${total Cards.toInt()})", style: TextStyle( fontSize: 20, color: Colors.black, fontWeight: FontWeight.normal), ), bold text in flutter text color in flutter text color on fltter flutter change text bold flutter bold second letters textstyle foreground flutter example textstyle flutter example foreground text example flutter how to bold text in flutter flutter text different colors text change color flutter flutter text bold align flutter different text styles textstyle color flutter flutter text style font size change text font flutter change family font in flutter fluttter text bold textsize in flutter flutter text style color flutter font family about all text style in flutter flutter Text() color change font oin flutter flutter change text value from textstyle how to chnge the font family in flutter how to change the font size of a text widget flutter sizing flutter text flutter decorared text flutter font family roboto flutter text styles set text color flutter flutter size of font change font style on highlight in flutter change font style in flutter in app flutter text font weight text col flutter text style font weight flutter in html text style font family flutter text bolt flutter flutter font change text flutter font change text sizer flutter text style color in flutter how to use bold or regular from font in flutter text style decoration flutter flutter Text() style style text flutter flutter text text style fontstyle bold flutter text in text size in fluter flutter bold specific text Text fontsize flutter flutter change tet color flutter change text size flutter set font family add style to text flutter Text style fluuter how to inscrease size of bodytext1 in flutter apply color to Text widget flutter set default font size in flutter set default font for fllutter application FontStyle flutter color text in flutter how to change font of text flutter flutter change text font flutter TextSpan text size color below text flutter font bold flutter flutter font size.. Text italic text flutter teststyle font family flutter text size fluuet text style text decoration set default font size in flutter app text flutter style in text flutter flutter font sizes change text size in flutter fontStyle vs fontFamily flutter flutter color in text widget set google font as default theme flutter font color flutter text in white flutter flutter:text Size style how to add fontcolor in flutter how to change font in flutter flutter text styling flutter textform change fontfamily flutter text font size flutter italic font textstyle bold flutter how to create seprate textstyle dart file in flutter flutter textstyle set font family flutter flutter text bold Text styles in flutter flutter font size flutter font style bold flutter default font families bold text flutter text widget color flutter text size flutter text flutter style add color into text flutter wha is the default font for flutter text color flutter text() flutter text style alien in flutter text style in flutter flutter text style context style flutter text text bold flutter flutter text italic how to change font flutter Addiing text color in flutter create italic text in flutter make text italic in flutter flutter text widget different font weight flutter text style attributes Text widget flutter color white text decoration flutter textStyle flutter change text color flutter how to change text color in flutter dart how to make font bold in flutter textstyle change text color flutter fluuter TextStyle how to style text in flutter font size flutter color to text in flutter texte style flutter style:TextStyle(fontSize: 20.0) flutter text font color flutter font color\ flutter font color flutter change text style flutter change font size flutter default fonts textstyle in flutter bodytext fontsize flutter text style flutter flutter text color flutter font style flutter change android default font size dart textstyle dart text style dart Text con color text color in dart dart text fontstyles dart text font dart text styles flutter fontstyle flutter text fontstyle flutter Text Style font weight bold flutter flutter create custom named style how to change the size of text in same widget in flutter change color of text in flutter make part of text bold in flutter flutter field text family flutter font bold increase text size of Test flutter
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source