buildButtonRow method

Widget buildButtonRow()

Implementation

Widget buildButtonRow() {
  widget.message['notification_content']['buttons'] =
      sortButtons(widget.message['notification_content']['buttons']);
  return SingleChildScrollView(
    scrollDirection: Axis.horizontal,
    child: Row(
      children: List.generate(
        widget.message['notification_content']['buttons'].length,
        (index) {
          return buildButton(
              widget.message['notification_content']['buttons'][index]);
        },
      ),
    ),
  );
}