ImagePickerConfigs constructor

ImagePickerConfigs()

The default constructor is a factory that returns the configuration singleton of the picker configuration.

Global configuration for flutter app using advance_image_picker plugin Call once inside application before using image picker functions

Sample usage Calling in build function of app widget at main.dart

var configs = ImagePickerConfigs();
configs.appBarTextColor = Colors.black;
configs.translateFunc = (name, value) => Intl.message(value, name: name);

Implementation

factory ImagePickerConfigs() {
  return _singleton;
}