Style models provide fine-grained control over individual widget instances. They override ThemeExtension values when both are provided, making them the source of truth for customization.
ThemeExtension valuesThemeExtension valueMyoroButton(
style: MyoroButtonStyle(
backgroundIdleColor: Colors.red,
borderRadius: BorderRadius.circular(12),
// Only these properties override the theme
// Other properties use ThemeExtension defaults
),
child: Text('Custom Button'),
)