Skip to content

Instantly share code, notes, and snippets.

@MarcinusX MarcinusX/gender_card.dart Secret
Created Aug 24, 2018

What would you like to do?
import 'package:bmi_calculator/card_title.dart';
import 'package:bmi_calculator/gender.dart';
import 'package:flutter/material.dart';
import 'widget_utils.dart' show screenAwareSize;
class GenderCard extends StatefulWidget {
final Gender initialGender;
const GenderCard({Key key, this.initialGender}) : super(key: key);
_GenderCardState createState() => _GenderCardState();
class _GenderCardState extends State<GenderCard> {
Widget build(BuildContext context) {
return Card(
child: SizedBox(
width: double.infinity,
child: Padding(
padding: EdgeInsets.only(top: screenAwareSize(8.0, context)),
child: Column(
children: <Widget>[
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.