GeekyAnts / GaugesFlutter

A gauge package for Flutter that displays progress and can be customized for appearance and behavior.
https://pub.dev/packages/geekyants_flutter_gauges
MIT License
67 stars 15 forks source link

Assert proper error when Value bar is less then Custom Label start value #229

Open hasnentai opened 1 year ago

hasnentai commented 1 year ago
Screenshot 2023-05-31 at 11 35 18 AM

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

  valueBar: [
                  ValueBar(
                    value: 20,
                    offset: 300,
                  )
                ],
                enableGaugeAnimation: true,
                customLabels: [
                  CustomRulerLabel(text: "Hello One", value: value),
                  CustomRulerLabel(text: "Hello Two", value: 60),
                ],