Skip to content

Commit

Permalink
support null-safety;
Browse files Browse the repository at this point in the history
  • Loading branch information
dashu committed Sep 19, 2021
1 parent f890f52 commit e24e170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/sunmi_printer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SunmiPrinter {
/// A row contains up to 12 columns. A column has a width between 1 and 12.
/// Total width of columns in one row must be equal to 12.
static Future<void> row({
List<SunmiCol> cols,
required List<SunmiCol> cols,
bool bold: false,
bool underline: false,
SunmiSize textSize: SunmiSize.md,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.2.1
homepage: https://github.com/andrey-ushakov/flutter_sunmi_printer

environment:
sdk: ">=2.7.0 <3.0.0"
sdk: '>=2.12.0 <3.0.0'
flutter: ">=1.10.0"

dependencies:
Expand Down

0 comments on commit e24e170

Please sign in to comment.