In this blog, I am going to adding text Widget in Mobile App in flutter using Dart Packages. So, I am using VS Code Editor for easy and fast before creating a Project and open “main.dart” in editor and import-
import “package:flutter/material.dart”;
Here, in flutter all screen to called widget like text, button, body. And I to explain the text widget. So, before run App create an app named “myapp”. After that, I am using StatelessWidget and create title name, theme color, home, body and using Scaffold method for text and create child and write text in “Text” and for a design using style –
color: Colors.red,
fontStyle: FontStyle.italic,
fontWeight: FontWeight.bold,
fontSize: 30,
backgroundColor: Colors.yellow,
letterSpacing: 0.8,
wordSpacing: 1,
fontFamily: "Times new Roman",Code language: CSS (css)
Code Mention below-

I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals