build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Implementation

@override
Widget build(BuildContext context) {
  return Text(
    data,
    style: TextStyle(fontSize: double.tryParse("$fontSize"), color: color),
  );
}