Option constructor

const Option({
  1. String? value,
  2. bool? selected,
  3. bool? disabled,
  4. String? label,
  5. Key? key,
  6. NullableElementCallback? ref,
  7. String? id,
  8. String? title,
  9. String? style,
  10. String? className,
  11. bool? hidden,
  12. String? innerText,
  13. Widget? child,
  14. List<Widget>? children,
  15. EventCallback? onClick,
  16. Map<String, String>? additionalAttributes,
})

Implementation

const Option({
  this.value,
  this.selected,
  this.disabled,
  this.label,
  Key? key,
  NullableElementCallback? ref,
  String? id,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  String? innerText,
  Widget? child,
  List<Widget>? children,
  EventCallback? onClick,
  Map<String, String>? additionalAttributes,
}) : super(
        key: key,
        ref: ref,
        id: id,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        innerText: innerText,
        child: child,
        children: children,
        onClick: onClick,
        additionalAttributes: additionalAttributes,
      );