From 9a81543e8c55b1857ef666ca273e39d0640f03ab Mon Sep 17 00:00:00 2001 From: Jacques Date: Wed, 1 Nov 2023 13:16:06 +0100 Subject: [PATCH] fix: linter --- example/lib/main.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 0fd3b61..9caff8f 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -149,7 +149,7 @@ class _MyHomePageState extends State { onChanged: (value) {}, childToString: (s) => s != null ? weekDayDateFormat.format(s) : '', - decoration: ScrollPickerDecoration(), + decoration: const ScrollPickerDecoration(), ), const Text('FlutterFormInputScrollPicker: Months'), const SizedBox( @@ -160,7 +160,7 @@ class _MyHomePageState extends State { onChanged: (value) {}, childToString: (s) => s != null ? monthDateFormat.format(s) : '', - decoration: ScrollPickerDecoration(), + decoration: const ScrollPickerDecoration(), ), const Padding( padding: EdgeInsets.all(8.0), @@ -174,7 +174,7 @@ class _MyHomePageState extends State { values: years, onChanged: (value) {}, childToString: (s) => s?.year.toString() ?? '', - decoration: ScrollPickerDecoration(), + decoration: const ScrollPickerDecoration(), ), ], ),