TDropdown constructor

const TDropdown({
  1. Key? key,
  2. TDropdownTheme? theme,
  3. List<TDropdownItem> items = const [],
  4. required Widget child,
  5. TDropdownTriggerMode triggerMode = TDropdownTriggerMode.hover,
  6. bool enabled = true,
  7. Widget builder(
    1. BuildContext context,
    2. VoidCallback close
    )?,
})

Implementation

const TDropdown({
  super.key,
  this.theme,
  this.items = const [],
  required this.child,
  this.triggerMode = TDropdownTriggerMode.hover,
  this.enabled = true,
  this.builder,
});