buildRow method

Widget buildRow(
  1. Measure measure,
  2. Measure? measure2, {
  3. dynamic last = false,
})

Implementation

Widget buildRow(Measure measure, Measure? measure2, {last = false}) {
  return Expanded(
      child: Row(textDirection: TextDirection.ltr, children: [
    const SizedBox(width: padding),
    Expanded(
        child: MeasureDisplay(measure,
            tabContext: tabContext,
            instrument: Instrument.guitar,
            last: measure2 == null)),
    const SizedBox(width: padding),
    Expanded(
        child: measure2 == null
            ? const SizedBox()
            : MeasureDisplay(measure2,
                tabContext: tabContext,
                instrument: Instrument.guitar,
                last: last)),
    const SizedBox(width: padding),
  ]));
}