Instantly share code, notes, and snippets.

Embed
What would you like to do?
import 'package:flutter/material.dart';
class CardTitle extends StatelessWidget {
final String title;
const CardTitle(this.title, {Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Text(
title,
style: new TextStyle(fontSize: 16.0, fontWeight: FontWeight.w500),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment