CupStickerSize class

Size tem ly (đơn vị: mm) Dùng class + const để app khác có thể mở rộng

Constructors

CupStickerSize({required String key, required double widthMm, required double heightMm})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
heightMm double
final
key String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widthMm double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaults → const List<CupStickerSize>
Danh sách size mặc định package cung cấp
s40x30 → const CupStickerSize
===== DEFAULT MARKET SIZES ===== 40 x 30 mm – tem rất nhỏ (nắp / ly mini)
s50x30 → const CupStickerSize
50 x 30 mm – ly nhỏ
s60x40 → const CupStickerSize
60 x 40 mm – ly vừa (phổ biến nhất)
s70x50 → const CupStickerSize
70 x 50 mm – ly lớn
s80x60 → const CupStickerSize
80 x 60 mm – ly lớn / topping nhiều