getBarcodeWidget method

dynamic getBarcodeWidget(
  1. dynamic param,
  2. dynamic context
)

Implementation

getBarcodeWidget(param, context) {
  myLogAll('getBarcodeWidget');
  return Center(
    child: Container(
      color: Colors.white,
      margin: const EdgeInsets.all(5.0),
      child: BarcodeWidget(
          barcode: Barcode.code128(),
          data: param[gActionid] ?? param[gValue],
          height: 150.0,
          width: MediaQuery.of(context).size.width - 35.0),
    ),
  );
}