import 'package:flutter/material.dart'; class TestTitle extends StatelessWidget { final String title; const TestTitle({Key? key, required this.title}) : super(key: key); @override Widget build(BuildContext context) { return Container( margin: const EdgeInsets.all(10), child: Text( title, style: const TextStyle( fontSize: 20, fontWeight: FontWeight.w400, ), ), ); } }