mirrored_repositories/sports-fields-booking-app/lib/app/modules/booking_field
import 'package:flutter/material.dart';
import 'package:sports_booking_app/app/modules/booking_field/widgets/single_time_picker_builder.dart';

import '../../../core/values/colors.dart';

class SelectedTime extends StatelessWidget {
  const SelectedTime({
    Key? key,
    required this.hour,
    required this.onTap,
  }) : super(key: key);

  final VoidCallback onTap;
  final String hour;

  @override
  Widget build(BuildContext context) {
    return SingleTimePickerBuilder(
      onTap: onTap,
      backgroundColor: blue,
      borderColor: Colors.transparent,
      hour: hour,
      hourColor: Colors.white,
    );
  }
}
