ButtonConfig constructor

ButtonConfig({
  1. double? bigButtonRadius,
  2. double? bigButtonHeight,
  3. double? bigButtonFontSize,
  4. double? smallButtonRadius,
  5. double? smallButtonHeight,
  6. double? smallButtonFontSize,
  7. String configId = GLOBAL_CONFIG_ID,
})

遵循外部主题配置 默认为 BrnDefaultConfigUtils.defaultButtonConfig

Implementation

ButtonConfig({
  double? bigButtonRadius,
  double? bigButtonHeight,
  double? bigButtonFontSize,
  double? smallButtonRadius,
  double? smallButtonHeight,
  double? smallButtonFontSize,
  String configId = GLOBAL_CONFIG_ID,
})  : _bigButtonRadius = bigButtonRadius,
      _bigButtonHeight = bigButtonHeight,
      _bigButtonFontSize = bigButtonFontSize,
      _smallButtonRadius = smallButtonRadius,
      _smallButtonHeight = smallButtonHeight,
      _smallButtonFontSize = smallButtonFontSize,
      super(configId: configId);