fix: comments

This commit is contained in:
Jacques 2023-11-01 13:11:36 +01:00
parent aeb65430c3
commit 26c5ab03cf
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
import 'package:flutter/material.dart';
class ScrollPickerDecoration {
ScrollPickerDecoration({
const ScrollPickerDecoration({
this.scrollItemBuilder,
this.highlightWidget,
this.scrollItemTextStyle,

View file

@ -11,8 +11,8 @@ class ScrollPicker extends StatefulWidget {
required this.onChanged,
required this.decoration,
this.initialIndex,
Key? key,
}) : super(key: key);
super.key,
});
final List<String> list;
final void Function(int index) onChanged;