GiphyPickerConfigDelegate constructor

GiphyPickerConfigDelegate({
  1. required String apiKey,
  2. TextStyle cancelButtonStyle = const TextStyle(fontSize: 10, fontWeight: FontWeight.bold, color: Colors.black),
  3. TextStyle hiddenTextStyle = const TextStyle(fontSize: 14, color: Colors.black),
  4. TextStyle style = const TextStyle(fontSize: 14),
  5. Icon icon = const Icon(Icons.search, size: 24, color: Colors.black),
  6. TextStyle iconStyle = const TextStyle(color: Colors.grey),
  7. Color searchColor = Colors.grey,
  8. Color statusBarColor = Colors.white,
  9. Color backgroundColor = Colors.white,
})

Implementation

GiphyPickerConfigDelegate({
  required this.apiKey,
  this.cancelButtonStyle = const TextStyle(fontSize: 10, fontWeight: FontWeight.bold, color: Colors.black),
  this.hiddenTextStyle = const TextStyle(fontSize: 14, color: Colors.black),
  this.style = const TextStyle(fontSize: 14),
  this.icon = const Icon(Icons.search, size: 24, color: Colors.black),
  this.iconStyle = const TextStyle(color: Colors.grey),
  this.searchColor = Colors.grey,
  this.statusBarColor = Colors.white,
  this.backgroundColor = Colors.white,
});