WeImagePreview typedef

WeImagePreview = dynamic Function({Color color, int defaultIndex, List<String> images, bool indicators})

Implementation

typedef WeImagePreview = Function(
    {
// 图片
    @required List<String> images,
// 背景色
    Color color,
// 默认展示
    int defaultIndex,
// 指标显示
    bool indicators});