panelBuilder method
Implementation
@override
Widget panelBuilder(ProgrammingBlockController? blockController) => Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Row(
mainAxisSize: MainAxisSize.min,
children: const [
Text('Map'),
NumberInputTarget(
blockInputTargetKey: 'OPERATOR_MAP',
),
],
),
const SizedBox(
height: 4.0,
),
Row(
mainAxisSize: MainAxisSize.min,
children: const [
SizedBox(
width: 25,
child: Text(
'In\nmin',
),
),
NumberInputTarget(
blockInputTargetKey: 'OPERATOR_INMIN',
),
SizedBox(
width: 30,
child: Text(
'In\nmax',
),
),
NumberInputTarget(
blockInputTargetKey: 'OPERATOR_INMAX',
),
],
),
const SizedBox(
height: 4.0,
),
Row(
mainAxisSize: MainAxisSize.min,
children: const [
SizedBox(width: 25, child: Text('Out\nmin')),
NumberInputTarget(
blockInputTargetKey: 'OPERATOR_OUTMIN',
),
SizedBox(width: 30, child: Text('Out\nmax')),
NumberInputTarget(
blockInputTargetKey: 'OPERATOR_OUTMAX',
),
],
),
],
);