widgets_easier 1.0.0
widgets_easier: ^1.0.0 copied to clipboard
Widgets Easier aims to make development faster, simpler, and more efficient, turning development into a pleasant experience.
CHANGELOG #
1.0.0 - 2026-10-30 #
Added #
-
Phone date picking:
WeDateWheel: year / month / day wheels (WeDateWheelType.monthdrops the day). Out-of-range values are left out, disabled days are grey and skipped when the wheel stops, Jan 31 turned to February lands on the last day of February. Columns followlocale(Y M D in Chinese, M D Y in English); ↑ / ↓ turn the focused column and screen readers can adjust each column.WeDateSheet.showandWeDateSheet.showRange: a bottom sheet with Cancel · title · OK, optional shortcut chips, and a start / end switch in range mode (a backwards range is swapped on OK). At most 640 wide, keeps clear of the bottom safe area, scrolls when the screen is short.WeDateLocalegainsconfirm,cancel,daySuffix,startandend.
-
WeTabbar/WeTabbarItem: the bottom tab bar of a phone app, with equal-width items,activeIcon, a countbadge(99+) or adot,onReselectfor tapping the selected item again, the bottom safe area, and items announced as selectable buttons with their position. -
Platform awareness:
WePlatform.isTouch(context)readsTheme.of(context).platform(Android, iOS and Fuchsia count as touch), so a localThemecan simulate a phone and mobile browsers are treated as touch.WeInteraction(auto,pointer,touch) onWeThemeforces one mode or the other.WePlatformFit(universal,desktop,mobile) labels which platform a component suits, with a Chinese label and an icon.WeSizeScheme.touch(): 48 / 44 / 36 controls and 32 / 28 / 24 compact parts, with larger text and padding.- In debug builds,
WeMenu,WeTable,WePagination,WeCalendar,WeDatePanel,WeCascaderandWinStyleDialogprint a one-time hint with a suggested replacement when used on touch. Turn it off withWePlatform.debugHints = false.
-
WeTooltip.touchDuration: how long a long-press tooltip stays up. -
WeNotification, afterel-notification: titled cards that stack in any of the four corners, return aWeNotificationHandle, and sharecloseAll.Duration.zerokeeps a card until it is closed. Hovering a card holds it; leaving starts the countdown again. -
WeLoading, afterv-loading: a region mask (loading,text,spinner,lock) that fades in and out and keeps no ticker running while idle, andWeLoading.servicefor a fullscreen overlay that is not a route, so it neither collides with dialogs nor eats the back button. Closing itsWeLoadingHandletwice is harmless. -
WeTable.loadingkeeps the rows on screen and lays aWeLoadingmask over them when there is data, and shows skeleton rows only when the table is empty.loadingTextlabels the mask. -
WeSliderandWeSlider.range, afterel-slider:step,showStops,marks,showTooltip,showInput(aCounterInputon the side),vertical, andWeFormItemintegration. -
WePageHeader, afterel-page-header: title, description, back, tag, actions, breadcrumb. -
WeCollapse/WeCollapseItem, afterel-collapse:accordion, anextraslot at the right of each header,disabled,titleBuilder, animated open and close. Headers take focus and toggle on Enter or Space, and a closed panel's content is left out of the Tab order. -
WeImage, afterel-image: network, bytes or anyImageProvider, a placeholder while loading and a fallback on error.previewopensWeImageViewer;previewListwithinitialIndexopens a gallery on the tapped image. -
WeImageViewer, afterel-image-viewer, works with a mouse and a keyboard as well as touch: side arrows or ← / → to page, a toolbar to zoom out, zoom in, reset and rotate either way, the wheel or + / - to zoom (0.2× to 8×), 0 to reset, Esc to close. Zoom and rotation reset when the page changes. -
WeCarousel: autoplay, arrows, indicators, optionalcardtype. -
WeTreeandWeTreeNode, afterel-tree:showCheckboxlinks parents and children: checking a parent checks its enabled descendants, a partly checked parent shows the indeterminate box, andonCheckreports every fully checked node. Disabled children keep their state, and a parent whose enabled children are all checked unchecks on the next click.checkStrictlyturns the linking off.filterkeeps matches and their ancestors, opens them, and highlights the matched text;filterMethodreplaces the match.lazyLoadfetches children on first expand with a spinner in the row;isLeafhides the arrow.accordion,defaultExpandAll,defaultExpanded,expandOnClickNode, guide lines,nodeBuilder, and the keyboard: ↑ / ↓ / Home / End move, → opens or steps in, ← closes or steps out, Enter selects, Space checks.WeTree.toggleCheckedandWeTree.findapply the same rules outside the widget.
-
WeTreeSelectandWeTreeSelect.multiple, afterel-tree-select: a tree in a dropdown. Single choice picks leaves (any node withcheckStrictly); multiple choice shows one tag per topmost checked node and folds the rest into+NwithcollapseTags.filterable,clearable,prefixIcon, Arrow Down into the tree, Backspace to drop the last tag, andWeFormItemsize, status and disabled state. -
WeFieldBox, the trigger box shared byWeSelect,WeCascaderandWeTreeSelect: border, focus glow, status colour, hover clear button and the turning arrow. Use it to build another select-like field that looks the same. -
WeUpload, afterel-upload, with no native dependency: the app passes apickerand anuploader(file, onProgress), and the widget does the rest.accept(extensions orimage/*),maxSize,limitwithonExceed,beforeUpload,beforeRemove, andonReject, which defaults to a warning message.- Three list styles:
text,picturewith thumbnails, and apictureCardwall whose "+" card hides at the limit.dragshows a large dashed area instead. - Progress per file, failed files that can be retried, image preview,
and
autoUpload: falsewithWeUploadController.submit(). WeUploadControllerholds the files, accepts dropped files throughaddFiles, andWeUploadFile.uploadedseeds files already on the server. Inside aWeFormItemit follows the item's disabled state and triggers change validation.weFormatBytesformats sizes such as1.5 KB.
-
WeStepsandWeStep, afterel-steps: horizontal,alignCenter, vertical andsimplelayouts;wait/process/finish/error/successstates fromactive,finishStatusandprocessStatus, or set on a step; icons, descriptions, a fixedspaceandonTap. -
WeCascaderandWeCascaderOption, afterel-cascader: picks a path through a tree one column at a time; the value is the list of values from the root.checkStrictlyputs a radio on every row so any level can be picked;expandTrigger: hoveropens columns on hover.filterablesearches every path and lists matches asA / B / C;filterMethodreplaces the match.showAllLevels,separator,clearable, disabled options, and the arrow keys: up and down within a column, right into children, left back out, Enter to pick. Inside aWeFormItemit takes the item's size, error state and disabled flag.
-
Date components, shared by one locale table (
WeDateLocale.zh/WeDateLocale.en, Monday first in Chinese):WeDatePickerandWeDatePicker.range: type a date in any form (2026-9-5,2026/09/05,20260905) and it commits on Enter or blur, or pick in the panel. Arrow Down moves into the panel,shortcutsadds a side list of presets, andfirstDate/lastDate/disabledDatelimit the choice.WeDatePanelandWeDatePanel.range, the inline panels behind the picker. Clicking the title zooms out to months and years; arrows, PageUp / PageDown (with Shift for years), Home / End and T move the cursor. The range panel shows two months and previews the band on hover.WeCalendar, a month board afterel-calendar: event bars per day, "还有 N 项" when they do not fit, dots on narrow cells, week numbers,cellBuilder,headerTrailing, and the same keyboard navigation.weFormatDateandweParseDate.
-
WeBadge.radius, for square badges in square layouts. -
WePopper, the floating-panel base after Element Plus's popper, withWePlacement(12 placements),WePopperTrigger(hover/click/focus/manual),WePopperControllerandWePopperStyle:- The panel follows its trigger through scrolling, flips to the opposite side when it does not fit, slides along the cross axis to stay on screen, and its optional arrow keeps pointing at the trigger.
- It closes on a tap outside and on Escape.
WePopper.escapeHandledtells dialogs that the Escape was already used, so one press closes only the topmost layer. WePopper.builderhands atogglecallback to a button trigger.
-
WeTooltip(dark/lighteffect),WePopover(title, text or any widget, click or hover) andWePopconfirm, whose confirm button spins while an asynconConfirmruns and keeps the bubble open if it throws. -
WeSelect.multiple: values as tags,collapseTagswith a+Ntag (andcollapseTagsTooltiplisting the rest),multipleLimit, Backspace removes the last tag. -
WeSelectgainedfilterablewithfilterMethod,remoteMethod(debounced, with loading, no-data and no-match lines),groupsofWeSelectGroup, and keyboard navigation: arrow keys move the highlight past disabled options, Enter picks, Escape closes. -
WeForm,WeFormItem,WeRuleandWeFormController, afterel-form:labelWidth,labelPosition(left/right/top),size,disabled,inline, and a red asterisk for required items.- Rules check
required,min/max(string length, number value or collection size),patternand avalidatorthat may be async; each runs onchange,bluror only onsubmit. validate()completes with abooland scrolls to the topmost error;validateField,resetFields(through each item'sonReset),clearValidate,scrollToFieldanderrorOf.WeInputandWeSelectinside an item turn red on error and inherit itsdisabledandsize.
-
WeDrawerandWeDrawer.show, afterel-drawer: four directions,sizeas a screen fraction or in pixels,withHeader, footeractions,resizableby dragging the inner edge, andbeforeClose, which can keep the drawer open when the mask, Escape, the close button or the back gesture would close it. -
WeDialog, a web-style modal afterel-dialog, andWeDialog.showto open one:- Draggable by the header, which is what an in-page dialog was
missing. It can be dragged almost off screen — a strip always stays
inside so it can be dragged back — and a double click on the header
snaps it home. Resizing the window pulls a stranded dialog back.
draggable: falserestores the plain centred modal. - Header with icon, title and close button; body that scrolls once it
passes
maxHeightFactorof the viewport; footer that lays outactionson the right. Every slot (header,titleWidget,footer) can be replaced. width,fullscreen,top(distance from the top, likeel-dialog),modal,closeOnClickModal,closeOnEscape,dividersand a customtransitionBuilder; the default transition is Element's fade-scale.
- Draggable by the header, which is what an in-page dialog was
missing. It can be dragged almost off screen — a strip always stays
inside so it can be dragged back — and a double click on the header
snaps it home. Resizing the window pulls a stranded dialog back.
-
WeMessageBox, theElMessageBoxtrio, built onWeDialogand therefore draggable as well:alertandconfirmcomplete with abool;promptcompletes with the entered text, ornullwhen cancelled, and keeps the confirm button disabled untilvalidatorpasses.
-
WeDialogDragHandle,WeDialogDragScopeandWeMovableDialog, the pieces behind the dragging, so custom dialogs can opt in with one wrapper. -
A second wave of components closing the gap to Element Plus. All of them read every colour and dimension from
WeThemeand are exported from the umbrella as well as from the new narrow barrelsnavigation.dart,feedback.dart,form.dartanddata.dart:- Buttons:
WeButton(solid/plain/text/linkvariants,round,circle,loading,disabled,block, icon-only viaWeButton.icon) andWeButtonGroup. - Navigation:
WeMenu(WeMenuItem/WeSubMenu/WeMenuGroup, collapsed mode with popups, controlled or auto-opening branches, badges),WeBreadcrumb,WeDropdown,WeTabs(line/card/borderCard) andWeSegmented. - Basics:
WeBadge,WeAvatar/WeAvatarGroup,WeLink,WeDivider(captioned, dashed, vertical),WeCard,WeStatisticandWeText. - Feedback:
WeAlert(light/dark),WeEmpty,WeMessage(top-centre stacking messages likeElMessage),WeSkeletonandWeResult. - Form:
WeInput(prefix / suffix icons, clearable, password toggle, word limit,prepend/appendslots),WeSelect,WeCheckbox/WeCheckboxGroup(indeterminate,min/max),WeRadioGroup(dot or button style),WeSwitch(inline prompt,beforeChange) andWeRate(half stars, texts). - Data:
WeTable(typedWeColumns, selection with indeterminate header, sorting, striped, bordered, hover, loading and empty states, fixed header withmaxHeight, footer slot),WePagination(ellipsis collapsing, page-size picker, jumper, total),WeDescriptions(bordered or plain,span),WeTimelineandWeProgress(line/circle/dashboard, status colours, colour stops, striped, indeterminate).
- Buttons:
-
WeCaptcha, a rewritten slide-to-fit puzzle captcha, plusWeCaptchaController(refresh,reset,status,solved) andWeCaptchaStatus. It replaces the oldSlidingCaptcha:- Takes any
ImageProvider(WeCaptcha.network/WeCaptcha.assetfor the common cases) and falls back to a seeded generated pattern when no image is given or the download fails, so it works offline and in tests. - The gap and the piece share one jigsaw
Path, so the cut-out and the piece always line up; both are painted from a single decoded frame instead of downloading the image twice. - Sizes itself from the incoming constraints rather than
MediaQuery.size.width, so it no longer breaks inside dialogs and panels. - Drag handle instead of a Material
Slider: no teleporting on tap, a shake on a miss, an automatic retry, optionalmaxAttemptswith a locked state, and a refresh button on the board. humanCheckrejects drags that finish in one jump or under 240 ms.onVerifyhands the final distance to a server and shows a spinner while the future runs; arrow keys nudge the handle and Enter submits.toleranceis per instance; the old globalSlidingCaptcha.deviationis gone with the deprecated widget.
- Takes any
-
WeColorShades, an extension onWeColorSchemethat derives the Element Plus tint ramp:light(type, 1…9),dark(type),lighten,darkenandramp. The new components use it for hover, pressed, plain and light backgrounds so custom palettes get the whole ramp for free. -
CheckTag, a tag that behaves like a checkbox, after Element Plus'el-check-tag. Checked it looks like a normalTagof itstypeandtheme; unchecked it flattens to a grey fill with grey text and no outline. It works uncontrolled (initialChecked) or controlled (checked), reports throughonChanged,onCheckedandonUnchecked, supportsdisabled, an optional leading check mark (showCheckIcon), keyboard toggling with Space and Enter, and animates between the two states.
Deprecated #
SlidingCaptchais now a thin wrapper aroundWeCaptchaand will be removed in 1.0.0. ReplaceSlidingCaptcha(imageUrl: url, onSuccess: …, onFail: …)withWeCaptcha.network(url, onSuccess: …, onFail: …). The staticSlidingCaptcha.deviationbecomes the per-instanceWeCaptcha.tolerance.SemanticButton→WeButton:onTapbecomesonPressed,isOutlined: truebecomesvariant: WeButtonVariant.plain,radiusbecomesround: true,prefixIcon(a widget) becomesicon(anIconData), andshrinkis no longer needed.ButtonGroup→WeButtonGroup.InfoDialogs→WeMessageBox.alert,ConfirmDialogs→WeMessageBox.confirm; both complete with aboolinstead of taking dismiss callbacks.- All four still work and will be removed in 1.0.0.
NotifyToasts→WeNotification(showTopRightbecomesWeNotification.show,showTopLeftneedsposition: WeNotificationPosition.topLeft).TipToasts→WeMessage.SliderWidget/SliderInputWidget→WeSlider.FutureDialogs/LoadingDialogs→WeLoading(region orWeLoading.service).PercentIndicator→WeProgress.Picture→WeImage.
Changed #
- The example now shows a small booking form (input, select, date picker,
switch, confirm box) and a basics page behind a
WeTabbar. - The pub.dev screenshot is WebP (199 KB instead of 1.7 MB), which brings the published archive from 2 MB down to under 800 KB.
WeDatePickeris now universal: on touch it opensWeDateSheetinstead of the calendar panel, and its field is read-only so no keyboard pops up. Keep the panel withtouchMode: WeDatePickerTouchMode.panel. It no longer prints the desktop-only hint;WeDatePanelandWeCalendarnow suggestWeDateSheet, andWeMenusuggestsWeTabbar.- On touch platforms
WeTheme.ofreturnsWeSizeScheme.touch()sizes unless you passed your ownsizes, so buttons and fields are 44 px tall instead of 32. Keep the compact sizes withWeTheme.light(interaction: WeInteraction.pointer). - On touch,
WePoppertreats a hover trigger as click, which carries over toWePopoverandWeDropdown.WeTooltipopens on long press and closes itself after 1.5 s; a tap still goes to its child. WeNotification,WeDialog,WinStyleDialogandWePopperpanels are no wider than the screen, whatever width is set.WeImageViewerleaves keyboard shortcuts out of its button tooltips on touch.WeSelectandWeCascaderdraw their field withWeFieldBox; nothing changes for callers. Their panels no longer close when a search box inside them is clicked on desktop.WeUploadpreviews page through every image in the list, starting from the one that was clicked.WeSelectandWeDropdownopen aWePopperinstead of a Material menu route, so their panels follow the field while scrolling and nest inside dialogs; their constructors are unchanged.WeDropdownalso takestriggerandplacement. The staticWeDropdown.openstill shows the old route-based menu.WeButton.tooltipshows a themedWeTooltipinstead of Material's.WeDialogandWinDialogsignore an Escape that already closed a floating panel inside them.- The Windows-style dialog was rewritten. It reads every colour from
WeThemeinstead of the four hard-coded greys it used to paint with, so it finally works in dark mode; the title bar drags the dialog, the body scrolls, and the command bar spaces its buttons itself. - Breaking:
WinDialogs.show,zoomInandshowWinDialogtakeactionsas aList<Widget> Function(BuildContext)rather than aList<Widget>, so buttons can pop the dialog's own route.showandshowWinDialogare generic in the popped value;zoomInno longer claims to returnMap<String, dynamic>.textnow defaults to''andiconis optional, for dialogs that only carrycontents. - Breaking:
WinStyleDialogdroppedtextWidthandbottomWidget, which were declared but never used, and gaineddraggable,showCloseandbodyPadding. - Breaking: the
CloseButtonexported by the Windows dialog header is nowWinCloseButton. Under its old name it clashed withCloseButtonfrompackage:flutter/material.dart, making the two ambiguous in any file importing both. WinDialogsnow honoursbarrierDismissible—showWinDialoghard-coded it tofalseand ignored the argument — and closes on Escape.SemanticButtonandTagnow take their colours and dimensions fromWeThemeinstead of hard-coded constants, so they follow dark mode and any palette you derive withWeColorScheme.copyWith. Install the extension withThemeData.copyWith(extensions: [WeTheme.light()]); without it they fall back to a palette matchingThemeData.brightness, as before.- Breaking (visual):
SemanticButtonnow uses the shared size scale, which is the Element Plus one. Heights go from 20/30/40 to 24/32/40 and font sizes from 13/16/19 to 12/14/16 for small/default/large. PassheightandfontSizeexplicitly to keep the old metrics. - Breaking:
SemanticButton.fontSizeis nowdouble?and defaults tonull. It previously defaulted to18and was ignored entirely — the button always used a size-derived value. It is now honoured when set, and falls back to thesizetoken when not. - A plain
Tagwith notypeand nocolornow draws its border in the theme'sbaseBorderrather than pure black (or white in dark mode). CounterInputreads its colours and metrics fromWeThemetoo. The value text, which used to be hard-coded black, now followsprimaryText, and the disabled state uses the theme'sdisabledTextandbaseFillinstead ofColors.grey.- Breaking (visual):
CounterInputfont and icon sizes come from the size tokens rather than fromheight * 0.6, and the value is centred instead of right-aligned. Passheightto scale everything proportionally. - Breaking:
CounterInput.radiusis nowdouble?and falls back toWeTheme.radius.base, which is the old default of4. - Breaking:
CounterInputassertsminValue <= maxValueandstep > 0. An inverted range used to take a separate, incoherent code path that could spin forever; ranges are now simply ordered. CounterInputno longer clamps while you type. Input is validated on submit or when the field loses focus, so intermediate values such as the1in15survive on a counter whose minimum is10.
Fixed #
-
Narrow screens no longer overflow in these places:
WeTabsheads that do not fit scroll sideways.- A
Tagsqueezed into a narrow table cell ends in an ellipsis. - The
WeStatistictrend label ends in an ellipsis. - The
WeSliderside input no longer sits in a fixed 108 px box; its number field is 56 px wide at every size.
-
Text in a
WePopperpanel lost the app's font family: the panel replaced the inherited text style instead of merging with it. -
On desktop, a searchable
WeSelect.multipleclosed its panel after every pick: the search field unfocused on any tap outside it, the panel included, and losing focus hides the panel. -
CounterInputthrew aLateInitializationErrorwhen a disabled counter was long-pressed, because the repeat timer was only created on long-press start, which the disabled path skipped, while long-press end cancelled it unconditionally. -
CounterInput's repeat timer was never cancelled indispose, nor when a press was cancelled rather than ended. Holding a button and navigating away left a timer stepping a disposed controller forever. -
CounterInputControllernever disposed itsTextEditingController. -
Typing in
CounterInputmoved the caret to the end of the field after every keystroke, which made it impossible to edit a value in the middle. The text is now only rewritten when it no longer spells the current value. -
CounterInputcould not accept negative input even with a negativeminValue: the input filter stripped the minus sign, which emptied the field, which snapped the value to the minimum. Clearing the field no longer snaps to the minimum either. -
CounterInputaccumulated binary floating point error, so ten steps of0.1landed on0.9999999999999999. Values are now rounded to the precision implied bystep,minValueandmaxValue, or todecimalswhen you set it. -
CounterInput.onMinandonMaxnever fired for fractional steps, because they compared the value to the bound with==on drifting floats. They now fire exactly once when a bound is reached, and the matching overflow callback fires once per attempt to go past it, including while a button is held down. -
CounterInput.onValueChangedwas skipped on some code paths that still firedonIncrementandonDecrement. All three now agree. -
An outlined
CounterInputdrew its button outlines in white by default, which made them invisible on a light background. They use the semantic colour now, matching the field's outline. -
GrooveBorder,RidgeBorder,InsetBorderandOutsetBorderpainted cracks at their corners and spilled roughly half their thickness outside the box they framed. They are now filled as mitred trapezoids, so the frame lands entirely inside the rect and matches thedimensionsthey report.GrooveBorderandRidgeBorderalso render both of their bevels, which previously collapsed into one. -
The four borders above now implement
==,hashCode,lerpFromandlerpTo, so they animate and stop repainting needlessly.
Added #
WeBevelBorderandWeBevelStyle, the shared base the four borders above are built on. Use it when the style has to be picked at runtime.- Narrow barrels so you can import only what you need:
package:widgets_easier/theme.dartfor the design tokens andpackage:widgets_easier/basics.dartfor the basic building blocks.package:widgets_easier/widgets_easier.dartstill exports everything. WeTheme, aThemeExtensionholding the colour, size, radius, spacing and shadow tokens every component reads.WeTheme.of(context)and thecontext.weTheme/context.weColorsshorthands give access to it.example/lib/main.dart, a runnable minimal integration.CounterInput.decimals, fixing how many fraction digits the value is rounded to and padded with, andCounterInput.readOnly, which keeps the buttons live while blocking the keyboard.CounterInput.focusNode, plus arrow up / down stepping while the field has focus and proper button semantics for screen readers.CounterInputChanged, the typedef the counter's value callbacks use, andDecimalTextInputFormatter, which validates a decimal number as a whole instead of filtering it character by character.
Removed #
- Breaking:
PrivacyGuardmoved to the newwidgets_easier_privacy_guardpackage. It was the only thing in here with Android and iOS code, and its presence made this a Flutter plugin, forcing native build steps on every consumer. This package is now pure Dart. If you usePrivacyGuard, addwidgets_easier_privacy_guard: ^1.0.0and importpackage:widgets_easier_privacy_guard/widgets_easier_privacy_guard.dart; the widget's API is unchanged. Everyone else gets a lighter build. - Breaking: the
depthparameter onGrooveBorder,RidgeBorder,InsetBorderandOutsetBorder. It never affected painting. Delete it from your call sites; nothing else changes.
Toolchain update #
The package is brought up to date with the current Flutter / Dart toolchain. None of the changes below touch widget APIs.
Changed
- Requires Dart
^3.9.0and Flutter>=3.35.0. - Upgraded
flutter_svgto^2.3.0andflutter_lintsto^6.0.0. - Replaced deprecated Flutter APIs:
Color.withOpacity→Color.withValues,ThemeData.dialogBackgroundColor→DialogThemeData.backgroundColor,MaterialStateProperty→WidgetStateProperty,ShowValueIndicator.always→ShowValueIndicator.onDrag. Write.header1…header6andWrite.paragraphnow declareWidgetreturn types andStringparameters.NotifyToasts.show*methods now declareBuildContextfor their first parameter.
Removed
- Dependency on
flutter_easy_animations. The entrance animations used by toasts and dialogs (fadeIn,zoomIn,zoomInRight,slideInUp/Down/Left/Right,bounceIn,backInDown,flipInX,rollIn) are now shipped inside this package asAnimateStylesand exported fromwidgets_easier.dart. If you importedflutter_easy_animationsonly forAnimateStyles, you can drop that import. - Invalid
default_packageplugin declarations for linux / macos / web / windows that madeflutter pub getfail on recent Flutter versions.
Fixed
FutureDialogno longer pops a disposed route after its delay.
0.0.10 - 2023-10-03 #
Added #
PrivacyGuardcomponent to enhance privacy features within the app.- Automatically enables a privacy screen when the app goes into the background.
- Provides blur effects (
blurRadiusandblurColor) to obscure the app's content when in privacy mode. - Supports disabling screenshot and recording functionalities with optional callbacks (
onScreenshotandonRecordingAttempt) when such actions are attempted. - Callbacks for entering (
onEnterPrivacyMode) and exiting (onExitPrivacyMode) privacy mode. - Configurable options to prevent screenshots and recordings, enhancing security and privacy compliance.
0.0.9 #
Added #
- Introduced
CascadeBottomSheetto handle multi-level cascading menus dynamically based on the depth of the provided data. - Added
showCascadeSheetmethod inBottomSheetsclass to display cascading selection sheets. - Implemented dynamic scroll controllers and selection lists in
CascadeBottomSheetto support variable depth of data without causing range errors.
Updated #
- Enhanced
BottomSheetsclass with additional methodsshowInfoSheetandshowConfirmSheetfor displaying informational and confirmation dialogs respectively. - Each method now supports customization of text, colors, padding, margins, and dismissibility.
- Added error handling for depth calculations in cascading menus to prevent out-of-range access.
Fixed #
- Fixed an issue where
CascadeBottomSheetwould throw aRangeErrorwhen the data exceeded four levels of depth by dynamically adjusting the number of scroll controllers and selection lists based on the maximum depth of the data.
UI Improvements #
- Updated UI components in
ConfirmBottomSheetandIofoBottomSheetto include optional images, customizable button texts, and improved layout handling. - Enhanced visual feedback in
CascadeBottomSheetwith better alignment and color distinction between selected and unselected items.
Performance #
- Optimized the initialization process for
CascadeBottomSheetto reduce setup time by calculating the maximum depth once during the initial state setup.
Documentation #
- Updated documentation and inline comments for better clarity on how the new dynamic depth handling works in
CascadeBottomSheet.
0.0.8 #
Added #
Tag class, which is a Widget class designed for labeling and selection purposes. It features a type attribute that allows users to choose the type of tag they want to use.
0.0.7 #
Bugs Fixed.
0.0.6 #
Added #
TipToasts class, which is a utility class used to display temporary notifications or messages in Flutter. It can show custom toast messages at the top, center, or bottom of the screen that automatically disappear after a certain period of time. These types of notifications are commonly referred to as "toast" messages, originating from a similar concept in Android development.
0.0.5 #
Changes #
Fixes were made to the behavior of the fit and alignment properties of the Picture class. The constraints using BoxConstraints.expand() for images were removed. The method of size limitation was adjusted, as well as the arrangement within the parent container.
Added #
NotifyToasts class, which provides a simple and flexible way to display message notifications in your application. By customizing styles, animation effects and interactions, you can create message notifications that conform to the application design style.
0.0.4 #
Changes #
A new width property has been added to the SemanticButton widget, which is used to forcibly limit the width of the component. If a specific value is specified for this property, the shrink property will not occupy the entire container width even if it is set to false.
Added #
FutureDialogs
FutureDialogs is a type of promissory dialog that can help handle dialog application scenarios where the content of different dialogs needs to be determined by future results in a very simple way.
WinDialogs
WinDialogs is a type of dialog that mimics the Windows style.
0.0.3 #
Added #
CounterInput, which is a Flutter widget for numerical input and adjustment. It provides an intuitive interface that allows users to change the current value by clicking plus and minus buttons or directly inputting numbers.
0.0.2 #
Added #
ButtonGroup
ButtonGroup Widget is a button combination based on SemanticButton.
Changes #
- Added custom color and gradient color functionality to SemanticButton.
- Added debugging information to SemanticButton.
- Added the borderRadius property to SemanticButton, which is used to specify a finer border radius than the radius property.
0.0.1 #
- initial release.
