button static method

String button(
  1. String buttonName
)

A string representing the action of calling a button object.

This doesn't create a new button object nor check if the button exists. If the button doesn't exist, this action will be ignored in runtime.

Implementation

static String button(String buttonName) => "BTN_$buttonName";