ButtonStyleOverride constructor

Creates a button style override in replace mode.

Overrides apply to all descendant buttons, ignoring parent overrides.

Implementation

const ButtonStyleOverride({
  super.key,
  this.decoration,
  this.mouseCursor,
  this.padding,
  this.textStyle,
  this.iconTheme,
  this.margin,
  required this.child,
}) : inherit = false;