DropdownMenuItemSeparator<T> constructor

DropdownMenuItemSeparator<T>()

Implementation

DropdownMenuItemSeparator()
    : super(
        enabled: false, // As of Flutter 2.5.
        child: Container(), // Trick the assertion.
      );