x_containers 1.2.6
x_containers: ^1.2.6 copied to clipboard
A Flutter package offering more adaptive and easy-to-use container widgets.
1.2.6 #
- 💥 Removed all the "unused" parameters [xTheme.getTheme]. They can instead be set by running [.copyWith] on 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
XDocumentation
class to provide access to documentation comment templates.
1.2.3 #
-
✨ Added an "autoPad" constructor to
XListTile
andXCard
that matches the external and internal padding. -
♻️ Changed the example to feature internal padding on
XCard
. -
💥 Replaced
density
anddensityRatio
properties byinternalHorizontalPadding
andinternalVerticalPadding
inxTheme
,XListTile
andXCard
.
1.2.2 #
- 👷 Switched to emojis in the CHANGELOG (matching the gitmoji.dev guide).
- 👷 Add a script to check the version number.
- ✨ Added
XListTile.text
andXCard.text
to not have to wrap strings with aText
widget every time. - ♻️ Changed the example to feature
XListTile.text
.
1.2.1 #
- 🐛 The
XCard
issue where the padding was stacked withxTheme.padding
.
1.2.0 #
-
✨
XListTile
as a way to have a box-less reusable tile layout. -
✨ A preset
TextTheme
toxTheme.getTheme
that can be fully or partially overridden. -
♻️ Changed
XCard
andXSnackbar
useXListTile
. -
♻️ Changed the documentation which is now handled in part by macros.
-
♻️ Changed the example to showcase changing the text theme through
xTheme
. -
💥
XSnackbar
doesn't use thetitleStyle
andcontentStyle
properties which are handled by the text theme.
1.1.1 #
- ♻️ Fixed library name (from
x_container
tox_containers
).
1.1.0 #
-
✨ a makefile containing a few utility commands.
-
⚡ Improved The documentation comments on the class constructors.
-
⚡ Improved The
XDialog
buttons turn invisible if their label is set tonull
. -
💥 In
XSnackbar
, the fieldmessage
is renamed tocontent
to match the naming of other classes. -
💥 In
XCard
, the fieldsubtitle
is renamed tocontent
to 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
get
package, because it made XContainers not work with non-get apps. - 🔥 Deleted
PhysicalModel
fromXContainer
andXInkContainer
since theMaterial
widget handles the same properties. - 🔥 Temporarily got rid of the custom
TextTheme
generation by thexTheme
object, as it caused issues during theme changes. - ⚡ Improved generation of a
ThemeData
by thexTheme
object.
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.md
to be more clear and match some updates.
0.2.2 #
- ♻️ Changed
XContainer
use a physical model for better shadows. - ♻️ Changed
XSnackBar
now has amaxWidth
attribute.
0.2.1 #
- ♻️ Changed
ShadowContainer
becomesXContainer
. - ♻️ Changed
InkContainer
becomesXInkContainer
. - ♻️ 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
XTheme
values and added support forXDialog
andXSnackbar
. - ⚡ Improved the example to include XDialog and XSnackbar.
- ♻️ Changed
xPadding
variables have become static members ofXLayout
.
0.0.2 #
- ✨ Added some default padding values.
- ✨ Added
XLayout
class to manage common layout features.
0.0.1 #
- ✨ Added
ShadowContainer
. - ✨ Added
InkContainer
. - ✨ Added
XCard
. - ✨ Added
XTheme
to 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!