Skip to content

Time options not showing up #124

Description

@evac

Hi there!

I have a flutter app using this library and for the most part it works great!

However, I got a bug report from a user (iOS 18) who sent me this screenshot.

Image

I also have iOS 18 and wasn't able to reproduce this, this is how it looks for me (as well as on my Android device and simulators):

Image

I'm guessing it's something specific to that user's device, are there any known reasons to cause this issue? They say that they can still set times but just not see the time options.

Here is the code I'm using:

BottomPicker.time(
        dismissable: true,
        titlePadding: const EdgeInsets.symmetric(vertical: 16, horizontal: 0),
        pickerTitle: Text(
          'Select Time',
          style: theme.textTheme.titleLarge,
        ),
        pickerTextStyle: TextStyle(fontSize: 18),
        closeIconSize: 24,
        initialTime: Time(
          hours: selectedTime.value.hour,
          minutes: selectedTime.value.minute,
        ),
        use24hFormat: MediaQuery.of(context).alwaysUse24HourFormat,
        onSubmit: (dateTime) {
          selectedTime.value = TimeOfDay.fromDateTime(dateTime);
        },
        backgroundColor: theme.colorScheme.surface,
        buttonSingleColor: theme.colorScheme.primary,
        closeIconColor: theme.colorScheme.onSurface,
      ).show(context);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions