diff --git a/lib/samples/gauge/axis_feature/non_linearlabel.dart b/lib/samples/gauge/axis_feature/non_linearlabel.dart index efb6faa9..99af6050 100644 --- a/lib/samples/gauge/axis_feature/non_linearlabel.dart +++ b/lib/samples/gauge/axis_feature/non_linearlabel.dart @@ -4,7 +4,6 @@ import 'package:flutter_examples/model/model.dart'; import 'package:flutter_examples/widgets/flutter_backdrop.dart'; import 'package:scoped_model/scoped_model.dart'; import 'package:url_launcher/url_launcher.dart'; -import 'package:intl/intl.dart' show NumberFormat; class RadialNonLinearLabel extends StatefulWidget { final SubItemList sample; @@ -249,9 +248,7 @@ class CustomAxis extends RadialAxis{ color: Colors.grey, thickness: 10,), radiusFactor: radiusFactor, - ){ - - } + ); @override List generateVisibleLabels(){ diff --git a/lib/samples/gauge/pointers/multiple_ranges.dart b/lib/samples/gauge/pointers/multiple_ranges.dart index 90095308..9f3c710f 100644 --- a/lib/samples/gauge/pointers/multiple_ranges.dart +++ b/lib/samples/gauge/pointers/multiple_ranges.dart @@ -96,10 +96,6 @@ class _FrontPanelState extends State { _FrontPanelState(this.sample); @override Widget build(BuildContext context) { - setState((){ - _position = MediaQuery.of(context).orientation == Orientation.portrait ? 0.2 : 0.33; - }); - return ScopedModelDescendant( rebuildOnChange: true, builder: (context, _, model) { @@ -223,7 +219,6 @@ SfRadialGauge getMultipleRangePointerExampleGauge(bool isTileView) { ); } -double _position = 0.25;