Instantly share code, notes, and snippets.

Embed
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);
@override
_GenderCardState createState() => _GenderCardState();
}
class _GenderCardState extends State<GenderCard> {
@override
Widget build(BuildContext context) {
return Card(
child: SizedBox(
width: double.infinity,
child: Padding(
padding: EdgeInsets.only(top: screenAwareSize(8.0, context)),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
CardTitle("GENDER"),
],
),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment