Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to remove extra space #277

Open
SanketKumarr opened this issue Jun 18, 2024 · 1 comment
Open

Not able to remove extra space #277

SanketKumarr opened this issue Jun 18, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@SanketKumarr
Copy link

SanketKumarr commented Jun 18, 2024

Describe the bug
The widget is taking an extra space from the bottom

To Reproduce
RadialGauge( track: const RadialTrack( start: 300, end: 850, steps: 26, startAngle: 0, endAngle: 180, thickness: 20, trackStyle: TrackStyle( primaryRulersHeight: 3, primaryRulersWidth: 3, secondaryRulerPerInterval: 0, showLabel: false, ), ), valueBar: [ const RadialValueBar( value: 850, valueBarThickness: 20, gradient: LinearGradient( colors: [ CupertinoColors.destructiveRed, CupertinoColors.activeGreen, ], stops: [ 0.0, 0.3, ], ), ), ], shapePointer: [ RadialShapePointer( value: _ficoScore, color: CupertinoColors.systemBlue, width: 15, ), RadialShapePointer( value: _ficoScore, color: CupertinoColors.white, width: 7, ), ], ),

Expected behavior
The widget should not take extra space, it should take only the required space

Screenshots
image

Smartphone (please complete the following information):

  • Device: Pixel 3a
  • OS: Android 9.0 Pie

Additional context
In the attached screenshot, the widget is not forming a complete circle, it is a semi-circle gauge, still it is taking up space of a complete circular gauge.

@SanketKumarr SanketKumarr changed the title Not able to remove extra padding Not able to remove extra space Jun 18, 2024
@Afroz-Shaikh Afroz-Shaikh added the bug Something isn't working label Jun 27, 2024
@Afroz-Shaikh
Copy link
Collaborator

Hey @SanketKumarr,

Thank you for bringing this to our attention.

Currently, there isn't an option to hide the extra space in the widget. One workaround you can try is adjusting the position by setting the y-axis coordinate to 1 for now.

If you have any ideas or would like to contribute a solution, please feel free to raise a PR. We appreciate your help in improving our gauges library!
Cheers and thanks again for your feedback.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants