DropdownBuilder constructor

const DropdownBuilder({
  1. Key? key,
  2. required Widget headBuilder(
    1. BuildContext context,
    2. dynamic toggleDropped(),
    3. bool opened
    ),
  3. required Widget bodyBuilder(
    1. BuildContext context,
    2. dynamic close()
    ),
  4. double extendDroppedWidth = 0,
  5. EdgeInsets bodyMargin = const EdgeInsets.only(top: 2),
})

Implementation

const DropdownBuilder({
  super.key,
  required this.headBuilder,
  required this.bodyBuilder,
  this.extendDroppedWidth = 0,
  this.bodyMargin = const EdgeInsets.only(top: 2),
});