layrz_theme 4.3.38 layrz_theme: ^4.3.38 copied to clipboard
Layrz standard theme library for Flutter, based on Material You (Material 3).
Changelog #
4.3.38 #
- Fixed issue with
ThemedNotificationIcon
inThemedLayout
, now when you useThemedLayoutStyle.modern
, the icon should only appear in theThemedTaskbar
, also, in mobile mode, the icon only will appear in theThemedAppBar
and theThemedDrawer
will not have the icon.
4.3.37 #
- Updated
ThemedNotificationItem
to display theat
. - Updated
ThemedNotificationIcon
to use the nativeBadge
widget to display an indicator.
4.3.36 #
-
Added
padding
prop inThemedDurationInput
,ThemedDynamicAvatarInput
,ThemedMultiSelectInput
,ThemedNumberInput
,ThemedSelectInput
,ThemedTextInput
,ThemedDateRangePicker
,ThemedDateTimeRangePicker
,ThemedColorPicker
,ThemedEmojiPicker
,ThemedFileInput
,ThemedIconPicker
,ThemedMonthRangePicker
,ThemedTimeRangePicker
. -
Defined new static getter on
ThemedTextInput
to standarize the padding on most of the inputs and pickers
4.3.35 #
- Fix overflow in
ThemedDrawer
exactly when actions areThemedNavigatorAction
4.3.34 #
- Redesigned
ThemedCodeEditor
to works with other library and prevent issues withsetState
andmarkNeedsBuild
when the widget is disposed.
4.3.33 #
- Fixed
persistentItems
not showing onThemedTaskbar
when theThemedLayout
isThemedLayoutStyle.modern
4.3.32 #
- Adjusted design of
ThemedCalendar
4.3.31 #
- Major improvement on
ThemedLayout
and sub-widgets. - Added a state listener on
ThemedTooltip
to prevent sticky tooltips when the widget is disposed or unfocused.
4.3.30 #
- Added additional padding based on depth in
ThemedNavigatorItem
and subclasses onThemedDrawer
to improve the visual hierarchy of the items. - Changed the paginator style from
#
to represent the page to#/#
to represent the current page and the total pages inThemedTable<T>
.
4.3.29 #
- Fixed
disabled
prop onThemedCodeEditor
4.3.28 #
-
Added PointerInterceptor Library
-
Added
PointerInterceptor
widget to improve the navigation through dialogs inutility.dart
4.3.27 #
- Fixed bug of fonts in
generateDarkTheme()
, now will use thetitleFont
andbodyFont
correctly.
4.3.26 #
- Changed typography of
titleLarge
,titleMedium
andtitleSmall
frombodyFont
totitleFont
4.3.25 #
- Added
ThemedOrm
access throughBuildContext
using an extension. - New way to load fonts over network, locally or from Google Fonts.
- Deprecation warnings over
titleTextFontFamily
,textFontFamily
andisLocalFont
in favor oftitleFont
andbodyFont
ingenerateLightTheme()
andgenerateDarkTheme()
- New
ThemedFontHandler
to handlepreloadFont
andgenerateFont
to load fonts over network, locally or from Google Fonts.
4.3.24 #
- Added scroll to
ThemedCodeEditor
4.3.23 #
- Fixed an issue in
ThemedCodeEditor
to prevent the cursor re-position when the widget is updated.
4.3.22 #
- Redefined the error handling on
ThemedCodeEditor
to use a local class instead ofLintError
fromlayrz_models
.
4.3.21 #
- New
ThemedCodeEditor
with standarized styling. - Removed support for
LayrzSupportedLanguage.dart
. - Added
run
andlint
buttons toThemedCodeEditor
.
4.3.20 #
- New widget
ThemedStreetViewDialog
to display a Google Street View. - New props in
ThemedMapToolbar
andThemedTileLayer
to handle Google Street View. - New event controller called
ThemedMapController
to handle events from the map. (Does not use Streams or somethnig like that)
4.3.19 #
- Fixed issue in
ThemedMapToolbar
to prevent drawing ofDivider
orVerticalDivider
when the buttons and fixed buttons are empty.
4.3.18 #
- Updated
ThemedTileLayer.reservedAttributionHeight
to consider the spacing required by the attributions.
4.3.17 #
- Forcing Google Maps, HERE Maps and Mapbox Maps attributions by static URLs.
4.3.16 #
- Removed
headers
onThemedTileLayer
, only will use when the layer is Google Maps.
4.3.15 #
- Inclues changes defined in
4.3.15-preview1
- Inclues changes defined in
4.3.15-preview2
- Inclues changes defined in
4.3.15-preview3
4.3.15-preview3 #
- Corrections about Attributions of Mapbox Maps in
ThemedTileLayer
.
4.3.15-preview2 #
- Optimized
ThemedTileLayer
to useCancellableNetworkTileProvider
(fromflutter_map_cancellable_tile_provider
) to improve performance and reduce memory usage. - Setted
panBuffer
andkeepBuffer
to 0 due a performance testing results (Is the better option for now).
4.3.15-preview1 #
- Optmized
ThemedTooltip
to useOverlayPortal
instead of a customOverlay
widget. - New widget
ThemedTileLayer
, designed to be used inFlutterMap
widget (fromflutter_map
) to display a tile layer using theMapLayer
model (fromlayrz_models
). - New widget
ThemedMapToolbar
, designed to be used inFlutterMap
widget (fromflutter_map
) to display a toolbar with some actions to control the map.
4.3.14 #
- Changed
containerColor
override ofdrawAvatar
utility. - Changed
shadowColor
override ofdrawAvatar
utility.
4.3.13 #
- Added
actionsOffset
onThemedActionButtons
to choose a custom overlay position - Added extension
ThemedHumanizeDuration
toDuration
to humanize the duration. This extension is based on the packagehumanize_duration
but fixing some errors and adding some features. - Undeprecated
translations
onThemedCalendar
4.3.12 #
- Added
customExtensions
as a prop onThemedFilePicker
to support custom extensions for the file picker. - Added
globalMimeResolver
to resolve custom mime types and extensions.
4.3.11 #
- Fixed
ThemedSearchInput
not keeping cursor position when typing, and set so themed table sets page to 0 when searching.
4.3.10 #
- Added optional prop
showCooldownRemainingDuration
toThemedButton
to hide the cooldown remaining duration text.
4.3.9 #
- Some corrections in
ThemedTooltip
to prevent the tooltip to be displayed when the widget is disposed.
4.3.8 #
- Adjusted visual drawing of
_drawHeader
inThemedTable<T>
.
4.3.7 #
- Re-enabled
onTap
fromThemedColumn<T>
inThemedTable<T>
.
4.3.6 #
- Changed all part's to use uri instead
- Updated
google_fonts
andfile_picker
to newer versions - Some improvements in
ThemedTable<T>
management to simplify the way that the translated messages are handled - Applied the same translation logic to
ThemedCalendar
.
4.3.5 #
- Removed
LayoutBuilder
inThemedButton
- New widget
ThemedDialog
to handle/standarize the dialogs in the app.
4.3.4 #
- Fixed
ThemedTable<T>
width calculation whenadditionalActions
is being used.
4.3.3 #
- Changed
ThemedTable<T>
border colors, now useTheme.of(context).dividerColor
instead ofColors.grey.shade300
- Some fixes related to
drawAvatar
.
4.3.2 #
- Added
context
inThemedSnackbar
to backward compatibility with@Deprecated
warning.
4.3.1 #
- New
ThemedSnackbar
to show a snackbar with a custom messenger calledThemedSnackbarMessenger
. Now you can show a snackbar from anywhere in the app only callingThemedSnackbarMessenger.of(context).showSnackbar(...)
. - Deprecated void functions
showThemedSnackbar
andsetThemedSnackbarScaffoldKey
in favor of the newThemedSnackbarMessenger
andThemedSnackbar
widgets. - Updated
ThemedDynamicCredentialsInput
to supportThemedNumberInput
instead ofThemedTextInput
.
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
andshouldExpand
from theThemedTable<T>
widget. - Added
rowsPerPage
andavailableRowsPerPage
to theThemedTable<T>
widget to control the number of rows per page.
4.2.10 #
- Fix a logic to show index of
ThemedTablet<T>
4.2.9 #
- Added new widget to represent the first index and the last index of the items in
ThemedTable<T>
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
toThemedCalendarEntry
andThemedCalendarRangeEntry
to change alignment in thetitle
4.2.5 #
- Added optional parameter
disableBlink
toThemedTimePicker
andThemedTimeRangePicker
to disable blinking of the inputs in the dialog - Fixed a bug on the
ThemedTimePicker
andThemedTimeRangePicker
dialog in which the increase and decrease buttons were not updating the state of the widget
4.2.4 #
- Removed paginator from
ThemedTable<T>
in mobile mode.
4.2.3 #
- Major change in
ThemedTable<T>
to handle dynamic columns and rows. Also, changes to horizontal scrolling inside of the table.
4.2.2 #
- Add on
ThemedCalendar
additionalButtons ofThemedButton
.
4.2.1 #
- Fixed
ThemedMonthRangePicker
to handle one-click action to pick only one month inconsecutive
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
andpickFile
4.1.20 #
- Updated
ThemedDualListInput
to handleerrors
- Updated
ThemedTab
to handlecolor
- 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 useonTap ?? 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 aThemedCalendarEntry
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