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'; import 'package:flutter/material.dart';
class ScrollPickerDecoration { class ScrollPickerDecoration {
ScrollPickerDecoration({ const ScrollPickerDecoration({
this.scrollItemBuilder, this.scrollItemBuilder,
this.highlightWidget, this.highlightWidget,
this.scrollItemTextStyle, this.scrollItemTextStyle,

View file

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