fsuper 2.2.1 copy "fsuper: ^2.2.1" to clipboard
fsuper: ^2.2.1 copied to clipboard

FSuper can help developers build complex views quickly and comfortably.

2.2.1 #

  • FSuper now accepts a key. It was the only public widget in the package that did not forward one to super, which made it impossible to control element reuse when several FSupers sit in a ListView or Column.
  • Fix a crash path in the size-measurement callback: the render object was fetched with as RenderBox, which throws when the context disappears between frames. The != null guard placed after it could never help, because the cast runs first. It now pattern-matches with is RenderBox and skips a torn-down tree.
  • Remove ten dead null comparisons and asserts on values whose types are non-nullable, and drop a == null test against shadowBlur, which is a non-nullable double defaulting to 1.
  • _Stack's alignment, textDirection and fit were constructor parameters that its only call site never passed, so the defaults always applied. They are now plain fields carrying those same defaults; behaviour is unchanged.
  • Document why WidgetsBinding.instance?. / SchedulerBinding.instance?. keep the null-aware operator: the declared SDK floor still covers Flutter 2.x, where instance is nullable and . would not compile. The warnings are now suppressed at the source, so they no longer appear in consumers' builds.
  • dart analyze on lib, test and pubspec.yaml now reports no issues.

2.2.0 #

  • Add maxLines and overflow so text can be truncated with an ellipsis instead of always being clipped.
  • Add pressedColor for tap-down highlight feedback. It reuses the existing gesture detector, so onClick / onChild1Click / onChild2Click behaviour is unchanged, and leaving it null keeps the previous no-feedback behaviour.
  • Remove a leftover print from the size-measurement path.
  • Drop dartdoc links to the Overflow type, which Flutter removed long ago.
  • Remove internal-only metadata from the public repository.

2.1.3 #

  • 修复一个获取 size 时的异常

2.1.2 #

  • 修复从 RenderBox 获取 size 时的异常

2.1.0 #

  • Support null-safety

2.0.2 #

  • fix maxWidth not work

2.0.1 #

  • optimization

2.0.0 #

  • Remove the following parameters and use the style parameter instead: -textColor -textSize -textStyle -textWeight -fontHeight

  • Remove the following parameters and use the redPointTextStyle parameter instead: -redPointTextColor -redPointTextSize

-corner parameter type changed from Corner to FCorner

-cornerStyle parameter type changed from CornerStyle to FCornerStyle

  • Optimize the layout of Child

  • Add Neumorphism style support.

    • Neumorphism style support can be turned on/off through the isSupportNeumorphism parameter
    • The highlightShadowColor parameter can configure the bright shadow color after enabling the Neumorphism style
    • Through the float parameter, you can configure the Neumorphism effect to float / reduce the visual effect
    • The lightOrientation parameter can adjust the direction of the light source
  • Now, under certain scenarios, even child child can respond to events normally even if it exceeds the range of FSuper

0.1.5 #

  • Optimize fsuper.dart

0.1.4 #

  • Rich corner effect

  • Exquisite border decoration

  • Naturally supports wonderful rich text

  • Gradient effect

  • More sense of space Shadow

  • Not simple Red Point

  • Flexible and powerful relative layout

39
likes
135
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

FSuper can help developers build complex views quickly and comfortably.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

fcontrol, flutter

More

Packages that depend on fsuper