contactor_picker 0.0.5
contactor_picker: ^0.0.5 copied to clipboard

A Flutter plugin to provide a form like a contact selector.Writted with pure dart, supported both iOS and Android...

contactor_picker #

联系人选择器

Getting Started #

1 Add [contactor_picker] latest version under dependencies to your package's pubspec.yaml file.

dependencies:
  contactor_picker: ^0.0.5

2 You can install packages from the command line:

$ flutter packages get

3 Api Usage

  • Usage
///列表加搜索
ContactorPicker.showPicker(
                    context,
                    ///数据源
                    dataList: [],
                    ///是否展示code 默认不展示
                    showGroupCode: true,
                    ///选中数据
                    onSelectedData: (data) {

                    },
                    ///标题
                    title: '联系人',
                    ///页面背景色
                    backgroundColor: Color(0xFFFAFAFA),
                    ///当前字母颜色
                    letterSelectedColor: Colors.blueAccent,
                  );
///仅搜索
   ContactorPicker.showSearchPicker(
                    context,
                    ///是否展示code 默认不展示
                    showGroupCode: true,
                    ///不展示
                    dataList: [],
                    ///背景色
                    backgroundColor: Color(0xFFFAFAFA),
                    ///选中数据
                    onSelectedData: (data) {
                    },
                  );

预览 #

image

3
likes
125
pub points
43%
popularity

Publisher

song.sjhw.xyz

A Flutter plugin to provide a form like a contact selector.Writted with pure dart, supported both iOS and Android...

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter, lpinyin

More

Packages that depend on contactor_picker