BsDropdownItem constructor

const BsDropdownItem({
  1. Key? key,
  2. Decoration? style,
  3. TextStyle? textStyle,
  4. bool disabled = false,
  5. Decoration? disabledStyle,
  6. TextStyle? disabledTextStyle,
  7. bool active = false,
  8. Decoration? activeStyle,
  9. TextStyle? activeTextStyle,
  10. EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(15, 8, 15, 8),
  11. Widget? child,
  12. VoidCallback? onPressed,
})

Implementation

const BsDropdownItem({
  Key? key,
  this.style,
  this.textStyle,
  this.disabled = false,
  this.disabledStyle,
  this.disabledTextStyle,
  this.active = false,
  this.activeStyle,
  this.activeTextStyle,
  this.padding = const EdgeInsets.fromLTRB(15, 8, 15, 8),
  this.child,
  this.onPressed,
}) : super(key: key);