xwidgets_pack 1.3.0
xwidgets_pack: ^1.3.0 copied to clipboard
The library focuses on lightweight, well-documented components that are easy to style and compose.
1.3.0 - 2026-07-09 #
- Add optional visual look presets via the public
XLookenum (standard,material,ios,glass,neumorphism,retro,neoBrutalism). - Add an optional
look:parameter to visual widgets. Default isXLook.standard, preserving the existing package look for backward-compatible upgrades. - Support
look:onXButton,XCard,XTextField,XAppBar,XText,XSingleDashedLine,XDoubleDashedLine, andXShimmerChild. - Support
look:on overlay helpers:XDialog.alert,XDialog.confirm,XDialog.loading,XBottomSheet.show,XBottomSheet.actions, and allXSnackbarentry points. - Add lightweight look resolution under
lib/look/with shared tokens and per-widget presets. - Export
XLookand shimmer widgets from the publicxwidgets.dartbarrel. - Add
example/lib/look_presets_example.dartas a runnable side-by-side showcase for every look preset. - Expand README documentation for look presets, supported widgets, override rules, and example usage.
- Add automated look preset tests in
test/x_look_test.dart.
1.2.1 - 2026-06-30 #
- Replace
file_pickerusage inXTextFieldwithfile_selectorto avoid pulling platform-specific desktop-only transitive code into the public package surface. - Remove
dart:iofrom the publicXTextFieldAPI by switching file callbacks and state fromFiletoXFile, improving Web and WASM compatibility for pub.dev scoring. - Keep file, camera, and gallery selection behavior intact while making the package platform-agnostic at the library boundary.
- Silence deprecated
cacheExtentanalyzer info inXScrollViewwith targeted ignores that remain compatible with the current Flutter SDK used by this package.
1.2.0 #
- Add
XScrollView<T>with initial fetching, vertical/horizontal pagination, pull-to-refresh, empty/error states, retry, item interactions, and custom loading indicators. - Add
XCollectionView<T>with list and grid layouts using the same paginated data contract asXScrollView. - Add state-management agnostic
XAsyncView<T>andXAsyncState<T>for initial, loading, data, empty, and error UI. - Add
XDebouncedSearchFieldwith configurable debounce, minimum query length, clear action, async loading, submission, and error handling. - Add
XResponsiveLayout,XBreakpoints, andXResponsiveSizefor mobile, tablet, and desktop layouts. - Add typed
XDialogandXBottomSheethelpers for alerts, confirmation, loading, custom content, and action sheets. - Add
XScreenwith safe-area handling, keyboard dismissal, constrained content, and loading/error overlays. - Extend
XButtonwith externally controlled idle, loading, success, and error states while preservingisLoadingandisLoadingInside. - Update
XTextFieldfordropdown_search7 andfile_picker11 APIs. - Upgrade
dropdown_searchto^7.0.0andfile_pickerto^11.0.2. - Expand the example application, automated widget tests, API documentation, and README navigation/examples.
1.1.0 #
- Enhance
XButtonwithisLoadingInsideand preserved button width while loading. - Add
loadingStrokeWidthinXButtonStyleand applyloadingColor+loadingStrokeWidthto all button loaders. - Add more native
ElevatedButtonpassthrough options inXButton(onLongPress,onHover,onFocusChange,focusNode,autofocus,clipBehavior,statesController,elevatedButtonStyle). - Enhance
XTextFieldwith broaderTextFormFieldpassthrough parameters for full customization. - Enhance
XAppBarwith broader nativeAppBarpassthrough parameters andpreferredSizesupport forbottom. - Enhance
XTextwith broader nativeTextand gesture passthrough parameters.
1.0.9 #
- Add option cursorColor in XTextField
- Add on tap action on XCard
1.0.8 #
- Add iconSpacer in XText
- Add floatingLabelBehavior inXTextField
- Aad option textStyle ourside XButtonStyle
1.0.7 #
- Enhance XTextField Widget
1.0.6 #
- Adjust textstyle in XTextField
1.0.5 #
- Add content padding option on XTextField widget
1.0.4 #
- Add textAlign option in XTextField
- Add XHeight and XWidth Widget
- Add option widthInfinity to make button width match parent
1.0.3 #
- Enhance XSnackbar & XShimmer widget
1.0.2 #
- New XShimmer custom widget
1.0.1 #
- Add wrap mode in XText
- Adjust readme.md
1.0.0 #
- Release XWidgets Package