displayGenderOption method

Widget displayGenderOption(
  1. String gender,
  2. bool isSelected
)

Implementation

Widget displayGenderOption(String gender, bool isSelected) {
  return Row(
    mainAxisSize: MainAxisSize.min,
    mainAxisAlignment: MainAxisAlignment.center,
    children: [
      Text(
        gender,
        style: _genderTextStyle(isSelected),
      ),
    ],
  );
}