Skip to content

Time options not showing up 2 Electric Boogaloo #138

@IndexProselyte

Description

@IndexProselyte

Steps to reproduce

Hello :D

Iam experiencing a variation of this issue #124

Version info:
Android: 14
OS: Xiaomi HyperOS 1.0.17.0.UOQEUXM
Flutter SDK: 3.5.0
Flutter version: 3.27.3
Widget version: ^3.2.1

Emulator info:
Android studio
Device: Pixel 7a API 33
Android device version: 13 Tiramissu

Actual results

The text is not visible, but can be returned by the widget, the slider itself also bugs out when i move it, reseting itself randomly.

On an emulator it works fine, on a real device the bug occurs. Downgrading to 3.0.0 did not fix the issue.

Image
Image
Image

Expected results

No response

Code sample

Bottom picker implementation
    bp.BottomPicker.time(
      pickerTextStyle: TextStyle(fontSize: 22),
      pickerTitle: const Text(
        'Vyberte čas',
        style: TextStyle(
          fontWeight: FontWeight.bold,
          fontSize: 22,
          color: Color.fromARGB(255, 154, 22, 27),
        ),
      ),
      initialTime: initialTime != null ? 
        bp.Time(hours: initialTime.hours, minutes: initialTime.minutes) : 
        bp.Time(hours: 7, minutes: 0),
      minTime: bp.Time(hours: 7, minutes: 0),
      maxTime: bp.Time(hours: 20, minutes: 0),
      minuteInterval: 30,
      use24hFormat: true,
      gradientColors: [
        Color.fromARGB(255, 154, 22, 27),
        Color.fromARGB(255, 200, 50, 50),
      ],
      onSubmit: (time) {
        final pickerDateTime = time as DateTime;
        selectedTime = Time(hours: pickerDateTime.hour, minutes: pickerDateTime.minute);
        completer.complete(selectedTime);
      },
      onCloseButtonPressed: () {
        completer.complete(null);
      },
    ).show(context);

Screenshots or Video

Upload media

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[√] Flutter (Channel stable, 3.27.3, on Microsoft Windows [Version 10.0.26100.4061], locale en-SI)
    • Flutter version 3.27.3 on channel stable at C:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c519ee916e (5 months ago), 2025-01-21 10:32:23 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • DevTools version 2.40.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\user\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35219.272
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] VS Code (version 1.100.3)
    • VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.112.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.26100.4061]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 137.0.7151.69
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 137.0.3296.68

[√] Network resources
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions