PullDownMenuActionsRow.small constructor

const PullDownMenuActionsRow.small({
  1. Key? key,
  2. required List<PullDownMenuItem> items,
  3. Color? dividerColor,
})

Creates a row of maximum 4 actions, icon only.

Actions have height of 44 logical pixels.

Implementation

const PullDownMenuActionsRow.small({
  super.key,
  required this.items,
  this.dividerColor,
})  : _size = ElementSize.small,
      assert(
        items.length <= 4,
        'Amount of [items] should not be more than 4',
      );