ButtonState constructor
const
ButtonState({})
Implementation
const ButtonState({
required this.id,
required this.color,
this.foregroundColor,
this.child,
this.builder,
this.isCompact = true,
}) : assert(child != null || builder != null, 'Provee child o builder (al menos uno).');