Skip to content

Instantly share code, notes, and snippets.

@Kvaibhav01
Created March 17, 2018 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kvaibhav01/aa262d11cbcf28781df79fa0de39983b to your computer and use it in GitHub Desktop.
Save Kvaibhav01/aa262d11cbcf28781df79fa0de39983b to your computer and use it in GitHub Desktop.
Beautifying text in Flutter
import 'package:flutter/material.dart';
class HomePage extends StatelessWidget
{
@override
Widget build(BuildContext context)
{
return new Material(
color: Colors.blue,
child: new InkWell(
child: new Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
new Text("Hello World!", style: new TextStyle(color: Colors.white, fontSize: 30.0),),
],
)
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment