utils/constants library

Constants

kDesignHeight → const double
设计稿基准高(用来算 heightRatio)
kDesignWidth → const double
设计稿基准宽(用来算 widthRatio)

Properties

kRandom Random
共享 Random,避免粒子系统每帧 new 一堆 Random 实例
final