flutter_joon_flat 1.0.1 copy "flutter_joon_flat: ^1.0.1" to clipboard
flutter_joon_flat: ^1.0.1 copied to clipboard

Flutter Widget 扁平化扩展库:把嵌套的 widget 树转成链式调用。

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.1+1 - 2026-02-27 #

Changed #

  • No Material dependency: Decoration and interactive modules no longer depend on flutter/material.dart; only flutter/widgets.dart is used. Suitable for apps with or without Material.
  • Decoration: card() now uses Container + BoxDecoration only (removed Material). Parameters: removed elevation, clipBehavior; added optional boxShadow.
  • Interactive: Removed tooltip, inkWell, hero, material. Only semantics() remains for accessibility/testing.

1.0.0+1 - 2026-02-27 #

Added #

  • Layout: p, px, py, pt, pr, pb, pl (padding), m, mx, my, mt, mr, mb, ml (margin), padding(EdgeInsets), align, center, size, width, height, expanded, flexible, safeArea, constrained, aspectRatio.
  • SizedBox on num: 10.ww (width), 10.hw (height), 10.box (width & height) for Row/Column spacing.
  • Theme: JoonSpacing (s0–s16, p0–p16), JoonRadius (none, sm, md, lg, xl, xxl, full).
  • Decoration: bg, rounded, roundedSm/Md/Lg/Xl/Full, roundedBox, shadow, shadowSm/Md/Lg, border, clipCircle, clipRect, decorate, card.
  • Gesture: onTap, onLongPress, onDoubleTap, onPan, onScale, onVerticalDrag, onHorizontalDrag.
  • Visibility: opacity, visible, offstage, showIf, hideIf, invisible, gone.
  • Transform: rotate, scale, translate, translateOffset, flipX, flipY, transform.
  • Interactive: semantics(无 Material 依赖;已移除 tooltip/inkWell/hero/material)。
  • Conditional: when, branch, apply, replaceWhen, replaceWhenFalse.
1
likes
140
points
26
downloads

Documentation

API reference

Publisher

verified publisherpub.ygjoon.cn

Weekly Downloads

Flutter Widget 扁平化扩展库:把嵌套的 widget 树转成链式调用。

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_joon_flat