FFAndroidAdaptiveIcon constructor

FFAndroidAdaptiveIcon({
  1. String? foregroundImagePath,
  2. String? backgroundImagePath,
  3. FFColor? backgroundColor,
})

Implementation

factory FFAndroidAdaptiveIcon({
  $core.String? foregroundImagePath,
  $core.String? backgroundImagePath,
  FFColor? backgroundColor,
}) {
  final result = create();
  if (foregroundImagePath != null)
    result.foregroundImagePath = foregroundImagePath;
  if (backgroundImagePath != null)
    result.backgroundImagePath = backgroundImagePath;
  if (backgroundColor != null) result.backgroundColor = backgroundColor;
  return result;
}