altComponentInstruction method
Implementation
Widget altComponentInstruction({required var component}) {
return (component["instruction"] != null && component["instruction"] != "")
? Padding(
padding:
const EdgeInsets.only(bottom: componentLabelSpacing, left: 3),
child: Text(
(component["instruction"] != ""
? component["instruction"]
: ""),
style: instructionTxtStyle),
)
: const SizedBox();
}