mirrored_repositories/Movie-Feed-App/lib
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

class Textdata extends StatelessWidget {
  final String text;
  final Color color;
  final double size;
  const Textdata(
      {super.key, required this.text, required this.color, required this.size});

  @override
  Widget build(BuildContext context) {
    return Text(
      text,
      style: GoogleFonts.montserrat(color: color, fontSize: size),
    );
  }
}
