isEmpty property

bool get isEmpty

Returns true if the keyboard has no buttons.

Implementation

bool get isEmpty =>
    inlineKeyboard.isEmpty || inlineKeyboard.every((row) => row.isEmpty);