mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
added keys to segmented_buttons _ButtonSegment's
This commit is contained in:
parent
40f4f8822f
commit
370186030a
|
@ -49,6 +49,7 @@ class SegmentedButtons extends StatelessWidget {
|
|||
children: [
|
||||
for (int i = 0; i < titles.length; i++)
|
||||
_ButtonSegment(
|
||||
key: ValueKey(i),
|
||||
isSelected: isSelected[i],
|
||||
title: titles[i],
|
||||
),
|
||||
|
@ -61,6 +62,7 @@ class _ButtonSegment extends StatelessWidget {
|
|||
const _ButtonSegment({
|
||||
required this.isSelected,
|
||||
required this.title,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final bool isSelected;
|
||||
|
|
Loading…
Reference in a new issue