You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
443 B

import 'package:flutter/material.dart';
class TitleView extends StatelessWidget {
final Widget title;
const TitleView({Key? key, required this.title}) : super(key: key);
@override
Widget build(BuildContext context) {
return Padding(
padding: EdgeInsets.symmetric(horizontal: 5, vertical: 10),
child: DefaultTextStyle(
style: Theme.of(context).textTheme.headline4!,
child: title,
),
);
}
}