x_containers 1.3.0
x_containers: ^1.3.0 copied to clipboard
A Flutter package offering more adaptive and easy-to-use container widgets.
1.3.0 #
-
✨ Added
XContainer.textto quickly generate boxes with text. -
✨ Added
XButton.textto quickly generate buttons with text. -
🎨 Added
textColor,textAccentColorandlabelColortoXDialog. -
🎨 Added
titleStyle,contentStyleandlabelStyletoXDialog.text. -
📝 Updated the example app to feature new changes.
-
📝 Updated
README.mdto feature new changes. -
💥 Deprecated
XInkContainerdue to unclear name. UseXInkContainerinstead.
1.2.7 #
- 🩹 Fixed style of content of
XCard.text
1.2.6 #
- 💥 Removed all the "unused" parameters
xTheme.getTheme. They can instead be set by running.copyWithon the result (see "breaking changes" in the readme). - 🐛 Changed the FontFeature element in the default appbar theme provided by the
xTheme.
1.2.5 #
- 🐛 Removes deprecated theme parameters.
1.2.4 #
- 📝 Added a "breaking change" section to the README.md.
- 💬 Changed text in the example.
- 🚚 Export
XDocumentationclass to provide access to documentation comment templates.
1.2.3 #
-
✨ Added an "autoPad" constructor to
XListTileandXCardthat matches the external and internal padding. -
♻️ Changed the example to feature internal padding on
XCard. -
💥 Replaced
densityanddensityRatioproperties byinternalHorizontalPaddingandinternalVerticalPaddinginxTheme,XListTileandXCard.
1.2.2 #
- 👷 Switched to emojis in the CHANGELOG (matching the gitmoji.dev guide).
- 👷 Add a script to check the version number.
- ✨ Added
XListTile.textandXCard.textto not have to wrap strings with aTextwidget every time. - ♻️ Changed the example to feature
XListTile.text.
1.2.1 #
- 🐛 The
XCardissue where the padding was stacked withxTheme.padding.
1.2.0 #
-
✨
XListTileas a way to have a box-less reusable tile layout. -
✨ A preset
TextThemetoxTheme.getThemethat can be fully or partially overridden. -
♻️ Changed
XCardandXSnackbaruseXListTile. -
♻️ Changed the documentation which is now handled in part by macros.
-
♻️ Changed the example to showcase changing the text theme through
xTheme. -
💥
XSnackbardoesn't use thetitleStyleandcontentStyleproperties which are handled by the text theme.
1.1.1 #
- ♻️ Fixed library name (from
x_containertox_containers).
1.1.0 #
-
✨ a makefile containing a few utility commands.
-
⚡ Improved The documentation comments on the class constructors.
-
⚡ Improved The
XDialogbuttons turn invisible if their label is set tonull. -
💥 In
XSnackbar, the fieldmessageis renamed tocontentto match the naming of other classes. -
💥 In
XCard, the fieldsubtitleis renamed tocontentto match the naming of other classes. -
♻️ Changed the example to match the breaking changes.
1.0.3-dev.1 #
- ⚡ Improved The README for even better legibility.
- ⚡ Improved Using asset image from github.
1.0.2 #
- ✨ An XContainers preview image for the README.
- ⚡ Improved the README structure for legibility.
- ⚡ Improved the CHANGELOG because it wasn't displayed properly on pub.dev.
- 🚚 The code using
flutter format ..
1.0.1 #
- ⚡ Added extensive examples of the use of the different XContainers.
1.0.0 #
- 🔥 Deleted uses of the
getpackage, because it made XContainers not work with non-get apps. - 🔥 Deleted
PhysicalModelfromXContainerandXInkContainersince theMaterialwidget handles the same properties. - 🔥 Temporarily got rid of the custom
TextThemegeneration by thexThemeobject, as it caused issues during theme changes. - ⚡ Improved generation of a
ThemeDataby thexThemeobject.
0.2.3 #
- 🚚 Switched to using relative imports.
- 🚚 Non-top-level code has been moved to
lib/src/. - ✨ Added a description of how to use
CHANGELOG.md. - ⚡ Improved
README.mdto be more clear and match some updates.
0.2.2 #
- ♻️ Changed
XContaineruse a physical model for better shadows. - ♻️ Changed
XSnackBarnow has amaxWidthattribute.
0.2.1 #
- ♻️ Changed
ShadowContainerbecomesXContainer. - ♻️ Changed
InkContainerbecomesXInkContainer. - ♻️ Changed input fields now have padding surrounding the contents in
xTheme.getTheme.
0.2.0 #
- ✨ Added a theme generator from a palette.
- ⚡ XContainers now use context for colors which allows for smooth theme changes.
0.1.0 #
- ♻️ Versioning now use the first number for major versions, the second for minor and the third for fixes.
0.0.3 #
- ✨ Added
XDialog. - ✨ Added
XSnackbar. - ⚡ Improved some
XThemevalues and added support forXDialogandXSnackbar. - ⚡ Improved the example to include XDialog and XSnackbar.
- ♻️ Changed
xPaddingvariables have become static members ofXLayout.
0.0.2 #
- ✨ Added some default padding values.
- ✨ Added
XLayoutclass to manage common layout features.
0.0.1 #
- ✨ Added
ShadowContainer. - ✨ Added
InkContainer. - ✨ Added
XCard. - ✨ Added
XThemeto manage the shared properties.
How to use #
Every time a new version is uploaded, add a new section to the top of the file.
The title each section should start with ##.
The content of the section should be a bullet point list, with each point starting by one of the keywords listed below, and followed by a short description of the change.
Keywords:
- ✨ When you add a new feature or dependency.
- ⚡ Improved When you make some feature or code better.
- 🐛 When you make a correction to the code.
- ♻️ When you switch some code for different code (for instance, if we decided to radically change the way the movies are displayed).
- 🔥 When you remove some feature or code.
- 🚚 When you change file names or a linting rule.
- 💥 Any breaking change.
WARNING #
Don't forget to change the version in pubspec.yaml when a new version is added here!