remove unnecessary String.toString() (#81859)
This commit is contained in:
committed by
GitHub
parent
e74c15cac4
commit
9bca38c5e5
@@ -66,7 +66,7 @@ import 'stock_strings_es.dart';
|
||||
/// be consistent with the languages listed in the StockStrings.supportedLocales
|
||||
/// property.
|
||||
abstract class StockStrings {
|
||||
StockStrings(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||||
StockStrings(String locale) : localeName = intl.Intl.canonicalizedLocale(locale);
|
||||
|
||||
final String localeName;
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ class _SlidersState extends State<_Sliders> {
|
||||
),
|
||||
),
|
||||
Slider.adaptive(
|
||||
label: _continuousValue.toStringAsFixed(6).toString(),
|
||||
label: _continuousValue.toStringAsFixed(6),
|
||||
value: _continuousValue,
|
||||
min: 0.0,
|
||||
max: 100.0,
|
||||
|
||||
Reference in New Issue
Block a user