FSuper constructor
FSuper({
- double? width,
- double? height,
- double? maxWidth,
- double? maxHeight,
- String? text,
- Alignment? textAlignment,
- TextAlign? textAlign,
- List<
TextSpan> ? spans, - GestureTapCallback? onClick,
- Color? backgroundColor,
- ImageProvider<
Object> ? backgroundImage, - Widget? child1,
- Alignment? child1Alignment,
- EdgeInsets? child1Margin,
- GestureTapCallback? onChild1Click,
- Widget? child2,
- Alignment? child2Alignment,
- EdgeInsets? child2Margin,
- GestureTapCallback? onChild2Click,
- bool redPoint = false,
- Color redPointColor = Colors.redAccent,
- double redPointSize = 20,
- Offset? redPointOffset,
- String? redPointText,
- TextStyle redPointTextStyle = const TextStyle(color: Colors.white, fontSize: 11),
- Gradient? gradient,
- EdgeInsetsGeometry? padding,
- FCorner? corner,
- FCornerStyle cornerStyle = FCornerStyle.round,
- Color? strokeColor,
- double? strokeWidth,
- Color? shadowColor,
- Offset? shadowOffset,
- double shadowBlur = 1,
- EdgeInsets? margin,
- TextStyle? style,
- StrutStyle? strutStyle,
- bool isSupportNeumorphism = false,
- Color? highlightShadowColor,
- FLightOrientation? lightOrientation,
- 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,
});