Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created August 24, 2018 15:44
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 MarcinusX/d839a0f5fd1bd67ed948301080745f70 to your computer and use it in GitHub Desktop.
Save MarcinusX/d839a0f5fd1bd67ed948301080745f70 to your computer and use it in GitHub Desktop.
class InputPage extends StatelessWidget {
...
Widget _buildTitle(BuildContext context) {
return Padding(
padding: EdgeInsets.only(
left: 24.0,
top: screenAwareSize(56.0, context),
),
child: Text(
"BMI Calculator",
style: new TextStyle(fontSize: 28.0, fontWeight: FontWeight.bold),
),
);
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment