Skip to content

Commit

Permalink
Fix: goldens updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Afroz-Shaikh committed May 24, 2023
1 parent cfa6cda commit eb237c7
Show file tree
Hide file tree
Showing 247 changed files with 119 additions and 301 deletions.
2 changes: 1 addition & 1 deletion example/lib/border_radius_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class _BorderRadiusExampleState extends State<BorderRadiusExample> {
edgeStyle: LinearEdgeStyle.bothCurve,
),
gaugeOrientation: GaugeOrientation.horizontal,
rulers: const RulerStyle(
rulers: RulerStyle(
inverseRulers: false,
rulerPosition: RulerPosition.top,
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/custom_curve_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CustomCurveExample extends StatelessWidget {
CustomCurve(
midPoint: 50, midHeight: 100, curvePosition: CurvePosition.top)
],
rulers: const RulerStyle(rulerPosition: RulerPosition.bottom),
rulers: RulerStyle(rulerPosition: RulerPosition.bottom),
),
);
}
Expand Down
2 changes: 1 addition & 1 deletion example/lib/fill_extend_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class _FillExtendExampleState extends State<FillExtendExample> {
enableGaugeAnimation: true,
gaugeOrientation: GaugeOrientation.vertical,
// valueBar: [ValueBar(value: 100)],
rulers: const RulerStyle(
rulers: RulerStyle(
inverseRulers: false,
rulerPosition: RulerPosition.left,
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/gauge_vertical.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class _MyVerticalGaugeState extends State<MyVerticalGauge> {
),
// enableAnimation: true,
gaugeOrientation: GaugeOrientation.horizontal,
rulers: const RulerStyle(
rulers: RulerStyle(
primaryRulersWidth: 10,
primaryRulersHeight: 30,
primaryRulerColor: Color(0xff310072),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/inversed_ruler_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class InversedRulerExample extends StatelessWidget {
],
// linearGaugeBoxDecoration:
// LinearGaugeBoxDecoration(borderRadius: 20, height: 50),
rulers: const RulerStyle(
rulers: RulerStyle(
rulerPosition: RulerPosition.bottom, inverseRulers: true),
customLabels: const [
CustomRulerLabel(text: "\$10", value: 10),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/multiple_pointer_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class _MultiplePointerExampleState extends State<MultiplePointerExample> {
return Scaffold(
body: Center(
child: LinearGauge(
rulers: const RulerStyle(
rulers: RulerStyle(
inverseRulers: false, rulerPosition: RulerPosition.bottom),
valueBar: const [
ValueBar(value: 23, color: Colors.red),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/pointer_alignment_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class _PointerAlignmentExampleState extends State<PointerAlignmentExample> {
pointerAlignment: PointerAlignment.center,
),
],
rulers: const RulerStyle(
rulers: RulerStyle(
inverseRulers: false,
rulerPosition: RulerPosition.left,
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/range_vertical.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class _MyVerticalRangeState extends State<MyVerticalRange> {
linearGaugeBoxDecoration:
const LinearGaugeBoxDecoration(thickness: 10),
gaugeOrientation: GaugeOrientation.horizontal,
rulers: const RulerStyle(
rulers: RulerStyle(
rulersOffset: 10,
labelOffset: 10,
inverseRulers: true,
Expand Down
2 changes: 1 addition & 1 deletion example/lib/ruler_offset_feature_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MyRulerOffset extends StatelessWidget {
// value: 50,

valueBarPosition: ValueBarPosition.bottom,
rulers: const RulerStyle(rulerPosition: RulerPosition.bottom),
rulers: RulerStyle(rulerPosition: RulerPosition.bottom),
),
),
],
Expand Down
2 changes: 1 addition & 1 deletion example/lib/shaders.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class _MyShadersState extends State<MyShaders> {
// thickness: 200,
// backgroundColor: Colors.green.shade100,
),
rulers: const RulerStyle(
rulers: RulerStyle(
rulerPosition: RulerPosition.center,
inverseRulers: true,
// secondaryRulersHeight: 300,
Expand Down
2 changes: 1 addition & 1 deletion example/lib/tickness_extend_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class _ThicknessExtendExampleState extends State<ThicknessExtendExample> {
),
],
gaugeOrientation: GaugeOrientation.vertical,
rulers: const RulerStyle(
rulers: RulerStyle(
rulerPosition: RulerPosition.left, inverseRulers: true),
),
),
Expand Down
4 changes: 2 additions & 2 deletions example/lib/valuebar_position.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ class _MyValueBarPositionState extends State<MyValueBarPosition> {
// CustomRulerLabel(text: "50", value: 50),
// CustomRulerLabel(text: "100", value: 100),
// ],
rulers: const RulerStyle(
rulers: RulerStyle(
inverseRulers: true,
rulerPosition: RulerPosition.center,
labelOffset: 10,
rulersOffset: 10,
primaryRulersHeight: 30,
textStyle: TextStyle(
textStyle: const TextStyle(
fontFamily: 'Roboto',
color: Colors.black,
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/vert_pointer_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class VerticalValueBarExample extends StatelessWidget {
),
],
gaugeOrientation: GaugeOrientation.vertical,
rulers: const RulerStyle(
rulers: RulerStyle(
inverseRulers: false,
rulerPosition: RulerPosition.left,
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/base/base_ruler_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:ui';
abstract class BaseRulerStyle {
const BaseRulerStyle({
this.primaryRulersHeight,
this.primaryRulersWidth,
this.primaryRulersWidth = 5.0,
this.primaryRulerColor,
this.secondaryRulersHeight,
this.secondaryRulersWidth,
Expand Down
Loading

0 comments on commit eb237c7

Please sign in to comment.