Skip to content

Software Development at Program Tom LTD

Place for coding, programming, development and software in general.

Menu
  • Blog
  • PDF Booklets
  • Dev Utils & Content
  • Java Spring Boot Or Web Apps
  • English
    • български
    • English
    • Español
    • Português
    • हिन्दी
    • Русский
    • Deutsch
    • Français
    • Italiano
    • العربية
  • About Us
Menu
Flutter Text Styling - Italic, Bold, Mixed

Flutter Text Styling – Italic, Bold, Mixed

Posted on December 20, 2025 by Toma Velev

Here is how to Style Text in Flutter to be Italic, Bold and even Mixed – having a text with multiple spans with different styling.

Flutter Text Styling – Italic

If you want a “Regular Italic” text style in Flutter, you simply use:

fontStyle: FontStyle.italic

There is no separate weight for “Regular Italic” — it is just 400 weight + italic.


✅ Example

Text(
  'Regular Italic Text',
  style: TextStyle(
    fontFamily: 'my font family',
    fontWeight: FontWeight.w400, // Regular (400)
    fontStyle: FontStyle.italic, // Italic
    fontSize: 16,
  ),
);

What about Bold

To style Bold text in Flutter, you use:

fontWeight: FontWeight.bold

or more precisely:

fontWeight: FontWeight.w700

✅ Bold Text Example

Text(
  'Bold Text',
  style: TextStyle(
    fontFamily: 'my_family',
    fontWeight: FontWeight.bold, // or FontWeight.w700
    fontSize: 16,
  ),
);

💡 Bold + Italic (Bold Italic)

If you want Bold Italic, use both:

Text(
  'Bold Italic Text',
  style: TextStyle(
    fontFamily: 'my_family',
    fontWeight: FontWeight.w700,
    fontStyle: FontStyle.italic,
    fontSize: 16,
  ),
);

 

How to have a Text with two styles

To display text with two (or more) different styles in Flutter, you use RichText + TextSpan or Text.rich().


✅ Easiest Way — Using Text.rich

Text.rich(
  TextSpan(
    text: 'Hello ',                     // first part
    style: TextStyle(
      fontSize: 16,
      color: Colors.black,
    ),
    children: [
      TextSpan(
        text: 'World!',                 // second part
        style: TextStyle(
          fontSize: 16,
          color: Colors.blue,
          fontWeight: FontWeight.bold,
          decoration: TextDecoration.underline,
        ),
      ),
    ],
  ),
);

✅ Alternative — Using RichText

RichText(
  text: TextSpan(
    children: [
      TextSpan(
        text: 'First style text ',
        style: TextStyle(
          fontSize: 16,
          color: Colors.black,
        ),
      ),
      TextSpan(
        text: 'Second style text',
        style: TextStyle(
          fontSize: 16,
          color: Colors.red,
          fontWeight: FontWeight.bold,
        ),
      ),
    ],
  ),
);
  • Join iOS Beta Testing Explained
  • Firebase App Distribution Setup
  • iOS App Lifetime Unverified
  • Flutter Bottom Border
  • Get Flutter current time zone

Categories

  • Apps (25)
  • ChatGPT (24)
  • Choosing a Framework (38)
  • Flutter (279)
  • Graphical User Interface (14)
  • Marketing (118)
  • Software Development (288)
  • Spring (45)
  • StartUp (22)
  • Uncategorized (4)
  • Uncategorized (14)
  • Vaadin (15)

Tags

Algorithms (9) crypto (29) flutterdev (39) General (86) Java (7) QR & Bar Codes (3) Software Dev Choices (33) Spring Boot (1) standards (1) Theme (3) User Authentication & Authorization (9) User Experience (10) Utilities (19) WordPress (11)

Product categories

  • All Technologies (86)
    • Flutter Apps (26)
    • GPT (4)
    • Java (38)
    • Native Android (3)
    • PHP (9)
    • Spring (Boot) / Quarkus (35)
    • Utils (15)
    • Vaadin 24+ (27)
    • Vaadin 8 (1)
  • Apps (18)
    • Employees DB (1)
    • Notes (6)
    • Personal Budget (1)
    • Recipes Book (1)
    • Stuff Organizer (1)
    • To-Do (2)
  • PDF Books (3)
  • Source Code Generators (8)

Recent Posts

  • Join iOS Beta Testing Explained
  • Firebase App Distribution Setup
  • iOS App Lifetime Unverified
  • Flutter Bottom Border
  • Get Flutter current time zone

Post Categories

  • Apps (25)
  • ChatGPT (24)
  • Choosing a Framework (38)
  • Flutter (279)
  • Graphical User Interface (14)
  • Marketing (118)
  • Software Development (288)
  • Spring (45)
  • StartUp (22)
  • Uncategorized (4)
  • Uncategorized (14)
  • Vaadin (15)