StyleConfig.enabled constructor
StyleConfig.enabled({
- bool shouldDecorate = true,
shouldDecorate tells whether or not to apply backgroundColor, border and cornerRadius
Implementation
factory StyleConfig.enabled({bool shouldDecorate = true}) =>
StyleConfig(shouldExpand: false, shouldDecorate: shouldDecorate);