ff_sku_picker 1.1.0 copy "ff_sku_picker: ^1.1.0" to clipboard
ff_sku_picker: ^1.1.0 copied to clipboard

E-commerce project SDK selector, you can customize the selector style, just pass in the conditions and options to complete all functions.

ff_sku_picker #

SKU picker.

The following is the effect diagram, you can download the code and run it directly.

img.png

Getting Started #

How to use #

FFSkuPicker(
    // 条件列表
    conditions: conditions,
    // 选项列表
    options: options,
    // 默认选中第一个可选项
    selectedFirst: true,
    // 选项行间距
    spacing: 16,
    // 选项列间距
    runSpacing: 16,
    // 选中某个的条件回调
    onSelectItem: (FFOptionsModel? model) {
      // ...
    },
    padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 10),
    // 分区
    titleBuilder: (index) {
      // ...
      return Text('');
    },
    // 条件
    itemBuilder: (FFIndexPath indexPath, bool available, bool selected) {
      // ...
      return Container(),
    },
  )
)
2
likes
150
pub points
0%
popularity

Publisher

unverified uploader

E-commerce project SDK selector, you can customize the selector style, just pass in the conditions and options to complete all functions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on ff_sku_picker