flutter_joon_flat 1.0.1
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; onlyflutter/widgets.dartis used. Suitable for apps with or without Material. - Decoration:
card()now usesContainer+BoxDecorationonly (removedMaterial). Parameters: removedelevation,clipBehavior; added optionalboxShadow. - Interactive: Removed
tooltip,inkWell,hero,material. Onlysemantics()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.