bigship / barcode.flutter

barcode generate library for Flutter
BSD 2-Clause "Simplified" License
59 stars 27 forks source link

Can't correctly display Code128 #6

Open zhtzeng opened 5 years ago

zhtzeng commented 5 years ago

There are two issues.

  1. According to your codes, this plugin only display code128B. Code128C is compression format if there are only digits
  2. I am trying to take byte array as input instead of string. Since code128 can be mixed with code128a/code128B/code128C. For example, 1645907 is code128c with last digit is code128a The real raw bytes are 105, 16, 45, 90, 101, 23, 73,106 101 indicate code128a is used and therefore, 23 represents '7' (not '07' in code128c)