@@ -143,7 +143,7 @@ class OudsControlItemState extends State<OudsControlItem> {
143143 state: interactionState,
144144 child: Padding (
145145 padding: EdgeInsetsDirectional .symmetric (
146- horizontal: OudsTheme .of (context).componentsTokens (context).controlItem.spacePaddingBlock ,
146+ horizontal: OudsTheme .of (context).componentsTokens (context).controlItem.spacePaddingBlockDefault ,
147147 ),
148148 child: Stack (
149149 children: [
@@ -163,14 +163,14 @@ class OudsControlItemState extends State<OudsControlItem> {
163163 child: InkWell (
164164 onTap: ! widget.readOnly
165165 ? () {
166- interactionState.setPressed (true );
167- // Added to improve visual rendering fluidity by allowing Flutter
168- // to complete the current frame before executing the state change logic.
169- SchedulerBinding .instance.addPostFrameCallback ((_) {
170- widget.onTap? .call ();
171- interactionState.setPressed (false );
172- });
173- }
166+ interactionState.setPressed (true );
167+ // Added to improve visual rendering fluidity by allowing Flutter
168+ // to complete the current frame before executing the state change logic.
169+ SchedulerBinding .instance.addPostFrameCallback ((_) {
170+ widget.onTap? .call ();
171+ interactionState.setPressed (false );
172+ });
173+ }
174174 : null ,
175175 onHighlightChanged: widget.onTap != null ? interactionState.setPressed : null ,
176176 onHover: interactionState.setHovered,
@@ -179,7 +179,7 @@ class OudsControlItemState extends State<OudsControlItem> {
179179 splashColor: Colors .transparent,
180180 child: Padding (
181181 padding: EdgeInsetsDirectional .all (
182- OudsTheme .of (context).componentsTokens (context).controlItem.spacePaddingBlock ,
182+ OudsTheme .of (context).componentsTokens (context).controlItem.spacePaddingBlockDefault ,
183183 ),
184184 child: IntrinsicHeight (
185185 child: Row (
0 commit comments