DocumentDropdown constructor

const DocumentDropdown({
  1. Key? key,
  2. required List<DocumentInfo> documents,
  3. void onSelect(
    1. DocumentInfo
    )?,
  4. String placeholder = 'Search and select a document...',
  5. bool disabled = false,
  6. Color? primaryColor = Colors.blue,
  7. Color? backgroundColor = Colors.white,
})

Implementation

const DocumentDropdown({
  super.key,
  required this.documents,
  this.onSelect,
  this.placeholder = 'Search and select a document...',
  this.disabled = false,
  this.primaryColor = Colors.blue,
  this.backgroundColor = Colors.white,
});