FSuper constructor

FSuper({
  1. double? width,
  2. double? height,
  3. double? maxWidth,
  4. double? maxHeight,
  5. String? text,
  6. Alignment? textAlignment,
  7. TextAlign? textAlign,
  8. List<TextSpan>? spans,
  9. GestureTapCallback? onClick,
  10. Color? backgroundColor,
  11. ImageProvider<Object>? backgroundImage,
  12. Widget? child1,
  13. Alignment? child1Alignment,
  14. EdgeInsets? child1Margin,
  15. GestureTapCallback? onChild1Click,
  16. Widget? child2,
  17. Alignment? child2Alignment,
  18. EdgeInsets? child2Margin,
  19. GestureTapCallback? onChild2Click,
  20. bool redPoint = false,
  21. Color redPointColor = Colors.redAccent,
  22. double redPointSize = 20,
  23. Offset? redPointOffset,
  24. String? redPointText,
  25. TextStyle redPointTextStyle = const TextStyle(color: Colors.white, fontSize: 11),
  26. Gradient? gradient,
  27. EdgeInsetsGeometry? padding,
  28. FCorner? corner,
  29. FCornerStyle cornerStyle = FCornerStyle.round,
  30. Color? strokeColor,
  31. double? strokeWidth,
  32. Color? shadowColor,
  33. Offset? shadowOffset,
  34. double shadowBlur = 1,
  35. EdgeInsets? margin,
  36. TextStyle? style,
  37. StrutStyle? strutStyle,
  38. bool isSupportNeumorphism = false,
  39. Color? highlightShadowColor,
  40. FLightOrientation? lightOrientation,
  41. bool float = true,
})

Implementation

FSuper({
  this.width,
  this.height,
  this.maxWidth,
  this.maxHeight,
  this.text,
  this.textAlignment,
  this.textAlign,
  this.spans,
  this.onClick,
  this.backgroundColor,
  this.backgroundImage,
  this.child1,
  this.child1Alignment,
  this.child1Margin,
  this.onChild1Click,
  this.child2,
  this.child2Alignment,
  this.child2Margin,
  this.onChild2Click,
  this.redPoint = false,
  this.redPointColor = Colors.redAccent,
  this.redPointSize = 20,
  this.redPointOffset,
  this.redPointText,
  this.redPointTextStyle = const TextStyle(color: Colors.white, fontSize: 11),
  this.gradient,
  this.padding,
  this.corner,
  this.cornerStyle = FCornerStyle.round,
  this.strokeColor,
  this.strokeWidth,
  this.shadowColor,
  this.shadowOffset,
  this.shadowBlur = 1,
  this.margin,
  this.style,
  this.strutStyle,
  this.isSupportNeumorphism = false,
  this.highlightShadowColor,
  this.lightOrientation,
  this.float = true,
});