layrz_theme 4.3.0 layrz_theme: ^4.3.0 copied to clipboard
Layrz standard theme library for Flutter, based on Material You (Material 3).
Changelog #
4.3.0 #
- Refactorized buttons to reduce the number of
setState
s and improve the performance of the widgets. - Refactorized table to reduce the number of
setState
s and improve the performance of the widgets. - Removed "mobile" mode from the table, now, the table will always use the "desktop" mode, aka, the table will always use the horizontal scroll.
- Deprecated [rowAvatarBuilder], [rowTitleBuilder], [rowSubtitleBuilder], [mobileRowHeight], [initialPage], [enablePaginator], [itemsPerPage], [paginatorLeading], [paginatorTrailing], [onPageChanged] and [shouldExpand] from the [ThemedTable
- Added [rowsPerPage] and [availableRowsPerPage] to the [ThemedTable
4.2.10 #
- Fix a logic to show index of [ThemedTablet
4.2.9 #
- Added new widget to represent the first index and the last index of the items in [ThemedTable
4.2.8 #
- GitHub Actions Tests (Nothing relevant for the end-user)
4.2.7 #
- Migrated repository from GitLab to GitHub
4.2.6 #
- Added new parameter
texAlign
to [ThemedCalendarEntry] and [ThemedCalendarRangeEntry] to change alignment in thetitle
4.2.5 #
- Added optional parameter
disableBlink
to [ThemedTimePicker] and [ThemedTimeRangePicker] to disable blinking of the inputs in the dialog - Fixed a bug on the [ThemedTimePicker] and [ThemedTimeRangePicker] dialog in which the increase and decrease buttons were not updating the state of the widget
4.2.4 #
- Removed paginator from [ThemedTable
4.2.3 #
- Major change in [ThemedTable
4.2.2 #
- Add on [ThemedCalendar] additionalButtons of [ThemedButton].
4.2.1 #
- Fixed [ThemedMonthRangePicker] to handle one-click action to pick only one month in
consecutive
mode.
4.2.0 #
- Added suport for Flutter 3.13.5
- Fixed background color on Flutter styled Checkbox for changes in Flutter 3.13.5
4.1.22 #
- Fix [ThemedCalendar] days
4.1.21 #
- Added Linux support for [saveFile] and [pickFile]
4.1.20 #
- Updated [ThemedDualListInput] to handle
errors
- Updated [ThemedTab] to handle
color
- Updated [ThemedFieldDisplayError] to change the padding of the error text
4.1.19 #
- Added
errors
andhideDetails
on some pickers
4.1.18 #
- Fixed a bug where the 12 hour date format in AM PM will display as 0
4.1.17 #
- New widget [ThemedTab]
4.1.16 #
- Fixes on [ThemedActionsButtons], now will use
onTap ?? onPressed
instead of onlyonPressed
to handle the tap gesture.
4.1.15 #
- Fixed
ScrollbarThemeData
ongenerateLightTheme()
andgenerateDarkTheme()
to use a specific color.
4.1.14 #
- Fixed [ThemedCalendar] whene generate a [ThemedCalendarEntry]
4.1.13 #
- Fixed
ThemedTooltip
to destroy inmediatly when the widget is disposed.
4.1.12 #
- Fixed
ThemedDualListInput
search field, the bug filters the available list instead of the selected list.
4.1.11 #
- Fixed
ThemedSelectInput
to prevent return null when is dismissed - Added
ThemedTooltip
propertycolor
to overrides the color of the tooltip - Updated position of the tooltip of the buttons in
ThemedTable
to be on the left side of the button - Deprecation notice of
onPressed
callback inThemedActionButton
4.1.10 #
- Fixes on
ThemedPageBuilder
4.1.9 #
- Updated
ThemedPageBuilder
to supports return value from thebuilder
function.
4.1.8 #
- New widget
ThemedCodeSnippet
to display snippets with an integrated copy-to-clipboard button.
4.1.7 #
- Fixed some errors with the display in the
ThemedDrawer
in nested pages. - Expandend documentation of
ThemedTable
to explain how to use some builders and related. - Fixed
ThemedSelectInput
update when the object from outside comes null, before, the selected value was not updated.
4.1.6 #
- Fixed conditional import for
pickFile
andsaveFile
to support web.
4.1.5 #
- Updated all pickers to support hover, splash and highlight colors' proerties when customChild is submitted.
- Updated
ThemedSelectInput
andThemedMultiSelectInput
to support - Re-documented all widgets to standarize the format of the documentation.
- Updated
README.md
4.1.4 #
- Correction on
ThemedTextInput
, now you can set theposition
of the combobox choices. By default will always display below theThemedTextInput
widget.
4.1.3 #
- In all Pickers, now you can submit a
customWidget
to overrides the defaultThemedTextInput
-like widget. - New page transition
ThemedPageBuilder
to help to create a page transition with a fade animation. The main difference withThemedPageTransition
is thatThemedPageBuilder
allows to use a custombuilder
to build the page, andThemedPageTransition
only allows to use achild
widget, basically you can return something. - Renamed widget
ThemedFileInput
toThemedFilePicker
, to backward compatibility, we added an alias toThemedFileInput
toThemedFilePicker
with a dart deprecation warning.
4.1.2 #
- Hotfix on
ThemedSelectInput
andThemedDualListInput
.
4.1.1 #
- New page builder called
ThemedPageTransition
to help to create a page transition with a fade animation. - Updated
ThemedSelectInput
andThemedMultiSelectInput
to comply with the new schema of pickers. - Updated
ThemedDualListInput
to comply with the new schema of apps. Also, now will append new items when is updated.
4.1.0 #
- New widget
ThemedTooltip
, basically it's an a re-invention of theTooltip
widget, provides the option to change the spawn position of the tooltip, and prevents the issue with the defaultTooltip
widget related to the tap gesture, allowing to use any gesture on the child widget. - Updated the structure logic of the
ThemedLayout
and layout-related widgets, now, the shadows will overlap correctly. - Updated
generateLightTheme()
andgenerateDarkTheme()
withTooltip
theme. - Replaced
Tooltip
forThemedTooltip
in theThemedButton
widget. - Added the property
useDefaultRedirect
on theThemedNavigatorPage
, basically allows to push the parent page of the nested pages when istrue
, when isfalse
will push the first page of the nested pages. - Updated
ThemedColorPicker
to support multiple pickers from the packageflex_color_picker
. - Migrated
ThemedDurationInput
from anOverlay
to aDialog
. - Updated
ThemedTextInput
to supportchoices
to work like a combobox. - New widget
ThemedNumberInput
, basically is aThemedTextInput
with anum
of return. - New widget
ThemedCalendar
and helper classesThemedCalendarEntry
andThemedCalendarRangeEntry
.- FYI, we only support the Monthly calendar, if you want to help us to support the other calendars, please, feel free to open a MR, help is always welcome.
- New widgets
ThemedMonthPicker
andThemedMonthRangePicker
. - New widgets
ThemedDatePicker
andThemedDateRangePicker
. - New widgets
ThemedTimePicker
andThemedTimeRangePicker
. - Updated widgets
ThemedDateTimePicker
andThemedDateTimeRangePicker
to new picker format (From custom Overlay to Dialog). - Updated widgets
ThemedAvatarPicker
,ThemedColorPicker
,ThemedEmojiPicker
andThemedIconPicker
to new picker format (From custom Overlay to Dialog).
4.0.25 #
- Fixed toggle theme on
ThemedLayout
andadditionalActions
whenThemedLayoutStyle
isThemedLayoutStyle.sidebar
4.0.24 #
- Improved UX in
ThemedDualListInput
when selecting all while searching
4.0.23 #
- Fixed
ThemedTable
table mode (Desktop) to show the dividers correctly
4.0.22 #
- Added
customSortingFunction
toThemedColumn
allowing to sort the values of the column using a custom function
4.0.21 #
- Changes on Layout widgets to support correctly the System UI Overlay on Android and iOS
- Added loaders to
drawAvatar
andThemedImage
4.0.20 #
- Updated shadow color on the
generateLightTheme
ygenerateDarkTheme
toColors.black.withOpacity(0.3)
- Added
Layo
4.0.19 #
- Improvements in
ThemedLayout
and layout-related widgets, now will considerMediaQuery.of(context).padding
to the fixed overlays' locations.
4.0.18 #
- Some hotfixes in
ThemedLayout
and layout-related widgets
4.0.17 #
- Added
currentPath
to overrides the currentPath on Layout
4.0.16 #
- Added support on
ThemedLayout
and layout-related widgets to use differentpushNamed()
andpop()
navigator methods. (Basically can support go_router)
4.0.15 #
- Added
elevation
,shadowColor
andreverse
properties todrawAvatar()
- Updated functionality of
color
property ondrawAvatar()
, now will apply todynamicAvatar
- Updated documentation of
reverse
ongenerateContainerElevation()
4.0.14 #
- Corrections on Text size prediction in
ThemedSnackbar
, should not overflow the text.
4.0.13 #
- Updated
width
forThemedSnackbar
, now, for screens with width mess than500u
will expand to the full width of the screen
4.0.12 #
- Added
disableNotifications
toThemedAppBar
to disable notification icon.
4.0.11 #
- New helper functions
saveFile
andpickFile
to help in the process to save a file or get a files from the device.
4.0.10 #
- Added the option to disable
SafeArea
inside a child of theThemedLayout
- Added the possibility to change the padding of the child inside of the
ThemedLayout
4.0.9 #
- Fixed
ThemedNotificationIcon
to handle Dynamic Island (And hopefully anySafeArea
padded segment)
4.0.8 #
- Adjusted status bar color when the
ThemedDrawer
is opened or closed.
4.0.7 #
- New function
setThemedSnackbarScaffoldKey
to set aGlobalKey<ScaffoldState>
to theThemedSnackbar
. ThemedSnackbar
now will use as primary context theGlobalKey<ScaffoldState>
setted before, otherwise, will use the providedBuildContext
in the constructor.
4.0.6 #
- Added default empty text for Notifications and reduced size of the logo on
ThemedAppBar
- Added name of the page in the
ThemedLayoutStyle.sidebar
as a "Fake AppBar"
4.0.5 #
- Fixes on design on Android
4.0.4 #
- New widget
ThemedLayout
to unifyThemedAppBar
,ThemedDrawer
andThemedTaskbar
using a unified Layrz style - Internal file organization updated to a sub-libraries schema
4.0.3 #
- Fixed
ThemedTable
actions having no divider - Added shadow color to
ThemedDrawer
elements
4.0.2 #
- Modified constraints for
file
,collection
andgoogle_fonts
to accomplish pub points warnings
4.0.1 #
- Fixes related to pub points
- Added new style for buttons
ThemedButtonStyle.filledFab
to accomplish the buttons of Material You
4.0.0 #
- Initial public release