ProfilePictureGeneralFrameworkWidget constructor

const ProfilePictureGeneralFrameworkWidget({
  1. Key? key,
  2. ColorFilter? colorFilter,
  3. bool isLoading = false,
  4. void onError(
    1. Object e,
    2. StackTrace? stackTrace
    )?,
  5. Color? color,
  6. EdgeInsetsGeometry? margin,
  7. bool isUseShadow = true,
  8. bool isWithBorder = false,
  9. required dynamic pathImage,
  10. required double width,
  11. required double height,
  12. String nick_name = "-",
  13. BorderRadiusGeometry? borderRadius,
  14. void onLongPress()?,
  15. void onHighlightChanged(
    1. bool data
    )?,
  16. Widget errorBuilder(
    1. BuildContext context,
    2. Object error,
    3. StackTrace? stackTrace
    )?,
  17. required void onPressed()?,
})

UncompleteDocumentation

Implementation

const ProfilePictureGeneralFrameworkWidget({
  super.key,
  this.colorFilter,
  this.isLoading = false,
  this.onError,
  this.color,
  this.margin,
  this.isUseShadow = true,
  this.isWithBorder = false,
  required this.pathImage,
  required this.width,
  required this.height,
  this.nick_name = "-",
  this.borderRadius,
  this.onLongPress,
  this.onHighlightChanged,
  this.errorBuilder,
  required this.onPressed,
});