GiphyState constructor

GiphyState({
  1. required String apiKey,
  2. String? selectedAsset,
  3. int pageSize = 40,
  4. Duration routeDuration = const Duration(milliseconds: 300),
  5. GiphyClient? giphyClient,
  6. bool connectivity = true,
  7. Map<String, double> displayAssets = const {},
})

Implementation

GiphyState({
  required this.apiKey,
  this.selectedAsset,
  this.pageSize = 40,
  this.routeDuration = const Duration(milliseconds: 300),
  this.giphyClient,
  this.connectivity = true,
  this.displayAssets = const {},
}){
  /// Initialize API Client
  initializeGiphyClient(apiKey);
}