widget_toolkit 0.0.1-dev10 widget_toolkit: ^0.0.1-dev10 copied to clipboard
The Widget Toolkit package consists of several lightweight and customisable UI components that boost productivity and reduce the development time.
[0.0.1-dev10] #
- Renamed
ErrorUnknown
toUnknownErrorModel
- Added
L10nErrorKeyProvider
abstract class, used to provide localization keys for error messages GenericErrorModel
andEmptyListErrorModel
now implementL10nErrorKeyProvider
[0.0.1-dev9] #
- Requires Dart
3.0
- Upgrade dependencies
[0.0.1-dev8] #
- Upgrade major versions of dependencies:
theme_tailor
,theme_tailor_annotation
[0.0.1-dev7] #
- Documentation improvements
Breaking Changes: #
- Removed params:
showChangeLanguageBottomSheet(iconRight, errorPanelIcon)
- Added parameter
showChangeLanguageBottomSheet(Widget Function(SelectedLanguageModel model, bool loading, BuildContext context)? itemBuilder, required LanguageService service, required Function(LanguageModel language) onChanged, String Function(LanguageModel) translate)
[0.0.1-dev6] #
- Documentation improvements
EditAddressWidget
example is added to the example project- Fixed golden tests for
EditAddressPage
EditAddressService
provides default implementation for the newly added methods:filteredCountriesByName
,validateCityOnSubmit
,validateStreetOnSubmit
,validateCityOnType
,validateStreetOnType
,- Added methods to
EditAddressService
without default implementation are:getCountries
,getCountryPlaceholderList
Breaking Changes: #
- Removed params
showEditAddressBottomSheet(cityErrorMapper , addressErrorMapper, validator, searchCountryService, countryCustomIcon, editCountryFieldType, cityCustomIcon, editCityFieldType, addressCustomIcon, editAddressFieldType)
- Added params
showEditAddressBottomSheet(Function(Object error) translateError, Function(AddressModel? addressModel)? onChanged)
- Removed params
EditAddressWidget(cityErrorMapper, addressErrorMapper, validator, searchCountryService, countryCustomIcon, editCountryFieldType, cityCustomIcon, editCityFieldType, addressCustomIcon, editAddressFieldType)
- Added params
EditAddressWidget(Function(Object error) translateError, Function(AddressModel? addressModel)? onChanged, onSaved)
- Renamed params in
EditAddressWidget
:editAddressService
becomesservice
,addressModel
becomesinitialAddress
. service
parameter inEditAddressWidget
becomes required, because the default service is deleted.- Removed params
TextFieldDialog(errorMapper)
- Added params
TextFieldDialog(Function(Object error) translateError)
- Removed params
ModalConfiguration(additionalBottomPadding)
- Removed params
EditAddressConfiguration(additionalBottomPadding)
- Removed params
ItemPickerModalConfiguration(additionalBottomPadding)
- Removed params
LanguagePickerModalConfiguration(additionalBottomPadding)
- Removed params
SearchPickerModalConfiguration(additionalBottomPadding)
- Removed params
TextFieldModalConfiguration(additionalBottomPadding)
[0.0.1-dev5] #
- Documentation improvements
- Add example project
- CountryModel name getter returns non nullable String
- SearchPickerService provides default implementation of method 'filteredListByName'
- IconTextButton now has transparent background
- modalBottomSheets are more configurable
- showBlurredBottomSheet (old name showModal) - UX improvements
Breaking Changes: #
- showModal is renamed to showBlurredBottomSheet
- showErrorModal is renamed to showErrorBlurredBottomSheet
- showEditAddressBottomSheet - configuration was renamed to modalConfiguration
- EditAddressWidget - configuration was renamed to editAddressConfiguration
- ItemPickerConfiguration - fullScreen was moved inside modalConfiguration
- showChangeLanguageBottomSheet - configuration was renamed to modalConfiguration
- OpenUrlWidget - errorModalSafeBottom was wrapped inside errorModalConfiguration
- showSearchPickerBottomSheet - fullScreen was moved into modalConfiguration (old name configuration)
- TextFieldDialog - configuration was renamed to modalConfiguration, dialogHasBottomPadding was moved inside modalConfiguration
- showErrorBlurredBottomSheet - safeAreaBottom was moved inside configuration
[0.0.1-dev4] #
- Fix screenshots
[0.0.1-dev2] #
- Fix static analysis issues
[0.0.1-dev1] #
- Initial release of the following libraries