buildAnimatedBorderControls method
Build animated border controls
Implementation
List<Widget> buildAnimatedBorderControls() {
return [
buildSubsectionHeader('ANIMATED BORDER'),
buildSwitch(
'Show Animated Border',
state.showAnimatedBorder,
(v) => state.showAnimatedBorder = v,
),
if (state.showAnimatedBorder) ...[
buildColorPicker(
'Border Color',
state.borderColor,
(c) => state.borderColor = c,
),
buildSlider(
'Border Width',
state.borderWidth,
1.0,
10.0,
(v) => state.borderWidth = v,
decimals: 1,
),
],
];
}