myTextView method

Widget myTextView(
  1. String text
)

Implementation

Widget myTextView(String text) {
return Text(
text,
textAlign: TextAlign.center,
textDirection: TextDirection.ltr,
style: TextStyle(
backgroundColor: Colors.white,
color: Colors.blue,
fontSize: 14,
fontStyle: FontStyle.normal,
fontFamily: "sans-serif",
fontWeight: FontWeight.bold,
),
);
}