Код: Выделить всё
return SegmentedButton(
style: SegmentedButton.styleFrom(
shadowColor:Colors.red, //I have added this
elevation:1.0, //I added this
surfaceTintColor: Colors.red, //I added this
backgroundColor: Colors.grey[200],
foregroundColor: Colors.grey,
selectedForegroundColor: Colors.black,
selectedBackgroundColor: Colors.white,
),
[img]https://i.sstatic.net /ADwgcV8J.png[/img]
Как сделать так, чтобы выбранный параметр также имел теневой контур вокруг него?
Подробнее здесь: https://stackoverflow.com/questions/791 ... tton-flutt
Мобильная версия