Skip to content

Commit 921125d

Browse files
DeviArunaMsumathijayaraj
authored andcommitted
Sample URL changed in gauge samples
1 parent c473437 commit 921125d

28 files changed

+84
-28
lines changed

lib/samples/gauge/animation/radial_bounceout.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _RadialBounceOutExampleState extends State<RadialBounceOutExample> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_bounceout.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _RadialBounceOutExampleState extends State<RadialBounceOutExample> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -100,6 +101,7 @@ class _FrontPanelState extends State<FrontPanel> {
100101
rebuildOnChange: true,
101102
builder: (context, _, model) {
102103
return Scaffold(
104+
backgroundColor: model.cardThemeColor,
103105
body: Padding(
104106
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
105107
child: Container(child: getRadialBounceOutExample(false)),

lib/samples/gauge/animation/radial_easeanimation.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _RadialEaseExampleState extends State<RadialEaseExample> {
6464
color: Colors.white),
6565
onPressed: () {
6666
launch(
67-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
67+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_easeanimation.dart');
6868
},
6969
),
7070
),
@@ -78,6 +78,7 @@ class _RadialEaseExampleState extends State<RadialEaseExample> {
7878
sideDrawer: null,
7979
headerClosingHeight: 350,
8080
titleVisibleOnPanelClosed: true,
81+
color: model.cardThemeColor,
8182
borderRadius: BorderRadius.vertical(
8283
top: Radius.circular(12), bottom: Radius.circular(0)),
8384
),
@@ -119,6 +120,7 @@ class _FrontPanelState extends State<FrontPanel> {
119120
rebuildOnChange: true,
120121
builder: (context, _, model) {
121122
return Scaffold(
123+
backgroundColor: model.cardThemeColor,
122124
body: Padding(
123125
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
124126
child: Container(child: getRadialEaseExample(false)),

lib/samples/gauge/animation/radial_easeincirc.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _RadialEaseInCircExampleState extends State<RadialEaseInCircExample> {
6464
color: Colors.white),
6565
onPressed: () {
6666
launch(
67-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
67+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_easeincirc.dart');
6868
},
6969
),
7070
),
@@ -78,6 +78,7 @@ class _RadialEaseInCircExampleState extends State<RadialEaseInCircExample> {
7878
sideDrawer: null,
7979
headerClosingHeight: 350,
8080
titleVisibleOnPanelClosed: true,
81+
color: model.cardThemeColor,
8182
borderRadius: BorderRadius.vertical(
8283
top: Radius.circular(12), bottom: Radius.circular(0)),
8384
),
@@ -115,6 +116,7 @@ class _FrontPanelState extends State<FrontPanel> {
115116
rebuildOnChange: true,
116117
builder: (context, _, model) {
117118
return Scaffold(
119+
backgroundColor: model.cardThemeColor,
118120
body: Padding(
119121
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
120122
child: Container(child: getRadialEaseInCircExample(false)),

lib/samples/gauge/animation/radial_easeout.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _RadialEaseOutAnimationState extends State<RadialEaseOutAnimation> {
6464
color: Colors.white),
6565
onPressed: () {
6666
launch(
67-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
67+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_easeout.dart');
6868
},
6969
),
7070
),
@@ -78,6 +78,7 @@ class _RadialEaseOutAnimationState extends State<RadialEaseOutAnimation> {
7878
sideDrawer: null,
7979
headerClosingHeight: 350,
8080
titleVisibleOnPanelClosed: true,
81+
color: model.cardThemeColor,
8182
borderRadius: BorderRadius.vertical(
8283
top: Radius.circular(12), bottom: Radius.circular(0)),
8384
),
@@ -116,6 +117,7 @@ class _FrontPanelState extends State<FrontPanel> {
116117
rebuildOnChange: true,
117118
builder: (context, _, model) {
118119
return Scaffold(
120+
backgroundColor: model.cardThemeColor,
119121
body: Padding(
120122
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
121123
child: Container(child: getRadialEaseOutAnimation(false)),

lib/samples/gauge/animation/radial_elasticout.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _RadialElasticOutAnimationState extends State<RadialElasticOutAnimation> {
6464
color: Colors.white),
6565
onPressed: () {
6666
launch(
67-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
67+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_elasticout.dart');
6868
},
6969
),
7070
),
@@ -78,6 +78,7 @@ class _RadialElasticOutAnimationState extends State<RadialElasticOutAnimation> {
7878
sideDrawer: null,
7979
headerClosingHeight: 350,
8080
titleVisibleOnPanelClosed: true,
81+
color: model.cardThemeColor,
8182
borderRadius: BorderRadius.vertical(
8283
top: Radius.circular(12), bottom: Radius.circular(0)),
8384
),
@@ -116,6 +117,7 @@ class _FrontPanelState extends State<FrontPanel> {
116117
rebuildOnChange: true,
117118
builder: (context, _, model) {
118119
return Scaffold(
120+
backgroundColor: model.cardThemeColor,
119121
body: Padding(
120122
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
121123
child: Container(child: getRadialElasticOutAnimation(false)),

lib/samples/gauge/animation/radial_linearanimation.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _RadialLinearAnimationState extends State<RadialLinearAnimation> {
6464
color: Colors.white),
6565
onPressed: () {
6666
launch(
67-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
67+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_linearanimation.dart');
6868
},
6969
),
7070
),
@@ -78,6 +78,7 @@ class _RadialLinearAnimationState extends State<RadialLinearAnimation> {
7878
sideDrawer: null,
7979
headerClosingHeight: 350,
8080
titleVisibleOnPanelClosed: true,
81+
color: model.cardThemeColor,
8182
borderRadius: BorderRadius.vertical(
8283
top: Radius.circular(12), bottom: Radius.circular(0)),
8384
),
@@ -119,6 +120,7 @@ class _FrontPanelState extends State<FrontPanel> {
119120
rebuildOnChange: true,
120121
builder: (context, _, model) {
121122
return Scaffold(
123+
backgroundColor: model.cardThemeColor,
122124
body: Padding(
123125
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
124126
child: Container(child: getRadialLinearAnimation(false)),

lib/samples/gauge/animation/radial_slowmiddle.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _RadialSlowMiddleAnimationState extends State<RadialSlowMiddleAnimation> {
6464
color: Colors.white),
6565
onPressed: () {
6666
launch(
67-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
67+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/animation/radial_slowmiddle.dart');
6868
},
6969
),
7070
),
@@ -78,6 +78,7 @@ class _RadialSlowMiddleAnimationState extends State<RadialSlowMiddleAnimation> {
7878
sideDrawer: null,
7979
headerClosingHeight: 350,
8080
titleVisibleOnPanelClosed: true,
81+
color: model.cardThemeColor,
8182
borderRadius: BorderRadius.vertical(
8283
top: Radius.circular(12), bottom: Radius.circular(0)),
8384
),
@@ -116,6 +117,7 @@ class _FrontPanelState extends State<FrontPanel> {
116117
rebuildOnChange: true,
117118
builder: (context, _, model) {
118119
return Scaffold(
120+
backgroundColor: model.cardThemeColor,
119121
body: Padding(
120122
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
121123
child: Container(child: getRadialSlowMiddleAnimation(false)),

lib/samples/gauge/annotation/direction_compass.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _RadialCompassState extends State<RadialCompass> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/annotation/direction_compass.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _RadialCompassState extends State<RadialCompass> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -100,6 +101,7 @@ class _FrontPanelState extends State<FrontPanel> {
100101
rebuildOnChange: true,
101102
builder: (context, _, model) {
102103
return Scaffold(
104+
backgroundColor: model.cardThemeColor,
103105
body: Padding(
104106
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
105107
child: Container(child: getRadialCompass(false)),

lib/samples/gauge/annotation/image_annotation.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _RadialImageAnnotationState extends State<RadialImageAnnotation> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/annotation/image_annotation.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _RadialImageAnnotationState extends State<RadialImageAnnotation> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -100,6 +101,7 @@ class _FrontPanelState extends State<FrontPanel> {
100101
rebuildOnChange: true,
101102
builder: (context, _, model) {
102103
return Scaffold(
104+
backgroundColor: model.cardThemeColor,
103105
body: Padding(
104106
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
105107
child: Container(child: getRadialImageAnnotation(false)),

lib/samples/gauge/annotation/text_annotation.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _RadialTextAnnotationState extends State<RadialTextAnnotation> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/annotation/text_annotation.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _RadialTextAnnotationState extends State<RadialTextAnnotation> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -100,6 +101,7 @@ class _FrontPanelState extends State<FrontPanel> {
100101
rebuildOnChange: true,
101102
builder: (context, _, model) {
102103
return Scaffold(
104+
backgroundColor: model.cardThemeColor,
103105
body: Padding(
104106
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
105107
child: Container(child: getRadialTextAnnotation(false)),

lib/samples/gauge/axis_feature/custom_labels.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _GaugeCustomLabelsState extends State<GaugeCustomLabels> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/axis_feature/custom_labels.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _GaugeCustomLabelsState extends State<GaugeCustomLabels> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -108,6 +109,7 @@ class _FrontPanelState extends State<FrontPanel> {
108109
rebuildOnChange: true,
109110
builder: (context, _, model) {
110111
return Scaffold(
112+
backgroundColor: model.cardThemeColor,
111113
body: Padding(
112114
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
113115
child: Container(child: getGaugeCustomLabels(false)),

lib/samples/gauge/axis_feature/default_gauge_view.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _RadialGaugeDefaultState extends State<RadialGaugeDefault> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/axis_feature/default_gauge_view.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _RadialGaugeDefaultState extends State<RadialGaugeDefault> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -100,6 +101,7 @@ class _FrontPanelState extends State<FrontPanel> {
100101
rebuildOnChange: true,
101102
builder: (context, _, model) {
102103
return Scaffold(
104+
backgroundColor: model.cardThemeColor,
103105
body: Padding(
104106
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
105107
child: Container(child: getDefaultRadialGauge(false)),

lib/samples/gauge/axis_feature/multiple_axis.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _MultipleAxisExampleState extends State<MultipleAxisExample> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/axis_feature/multiple_axis.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _MultipleAxisExampleState extends State<MultipleAxisExample> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -103,6 +104,7 @@ class _FrontPanelState extends State<FrontPanel> {
103104
rebuildOnChange: true,
104105
builder: (context, _, model) {
105106
return Scaffold(
107+
backgroundColor: model.cardThemeColor,
106108
body: Padding(
107109
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
108110
child: Container(child: getMultipleAxisGauge(false)),

lib/samples/gauge/axis_feature/non_linearlabel.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class _RadialNonLinearLabelState extends State<RadialNonLinearLabel> {
6363
color: Colors.white),
6464
onPressed: () {
6565
launch(
66-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
66+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/axis_feature/non_linearlabel.dart');
6767
},
6868
),
6969
),
@@ -76,6 +76,7 @@ class _RadialNonLinearLabelState extends State<RadialNonLinearLabel> {
7676
frontLayer: FrontPanel(sample),
7777
sideDrawer: null,
7878
headerClosingHeight: 350,
79+
color: model.cardThemeColor,
7980
titleVisibleOnPanelClosed: true,
8081
borderRadius: BorderRadius.vertical(
8182
top: Radius.circular(12), bottom: Radius.circular(0)),
@@ -104,6 +105,7 @@ class _FrontPanelState extends State<FrontPanel> {
104105
rebuildOnChange: true,
105106
builder: (context, _, model) {
106107
return Scaffold(
108+
backgroundColor: model.cardThemeColor,
107109
body: Padding(
108110
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
109111
child: Container(child: getRadialNonLinearLabel(false)),

lib/samples/gauge/axis_feature/radiallabel_customization.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _RadialLabelCustomizationState extends State<RadialLabelCustomization> {
6262
color: Colors.white),
6363
onPressed: () {
6464
launch(
65-
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/chart/circular_charts/pie_series/default_pie_chart.dart');
65+
'https://github.com/syncfusion/flutter-examples/blob/master/lib/samples/gauge/axis_feature/radiallabel_customization.dart');
6666
},
6767
),
6868
),
@@ -76,6 +76,7 @@ class _RadialLabelCustomizationState extends State<RadialLabelCustomization> {
7676
sideDrawer: null,
7777
headerClosingHeight: 350,
7878
titleVisibleOnPanelClosed: true,
79+
color: model.cardThemeColor,
7980
borderRadius: BorderRadius.vertical(
8081
top: Radius.circular(12), bottom: Radius.circular(0)),
8182
),
@@ -100,6 +101,7 @@ class _FrontPanelState extends State<FrontPanel> {
100101
rebuildOnChange: true,
101102
builder: (context, _, model) {
102103
return Scaffold(
104+
backgroundColor: model.cardThemeColor,
103105
body: Padding(
104106
padding: const EdgeInsets.fromLTRB(5, 0, 5, 50),
105107
child: Container(child: getRadialLabelCustomization(false)),

0 commit comments

Comments
 (0)