isCheckbox property

bool isCheckbox

Implementation

bool get isCheckbox {
  return children.isNotEmpty && children.first is InputNode;
}