Display a dialog box.
lvgl.dialog({settings})
The lvgl.confirm function uses only the settings shown below. The common settings shown on the API page are not used.
title
String
Text to be displayed in the header of the dialog box.
Empty string
close
Function
Called when the dialog box is closed.
nil
flexFlow
Flow type - lvgl.FLOW_COLUMN or lvgl.FLOW_ROW
Enable flex layout for this box.
not used
flexPad
Number
When flex layout is used, set the padding between rows or columns. Recommended to use the lvgl.PAD_xxx values.
0
BW radios
Color radios
2.11.0
Introduced