GiphyPickerConfigDelegate constructor
GiphyPickerConfigDelegate({
- required String apiKey,
- TextStyle cancelButtonStyle = const TextStyle(fontSize: 10, fontWeight: FontWeight.bold, color: Colors.black),
- TextStyle style = const TextStyle(fontSize: 14),
- Icon icon = const Icon(Icons.search, size: 24, color: Colors.black),
- TextStyle iconStyle = const TextStyle(color: Colors.grey),
- Color searchColor = Colors.grey,
- Color statusBarColor = Colors.white,
- 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,
});