diff --git a/CHANGELOG.md b/CHANGELOG.md index 58a1bb0..7306c43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,36 @@ +## Breaking Change[0.3.0] - April 07, 2020 + +- VxCard Introduced +- withShadow method for box added. +- withGradient method for box added. +- scaleFactor for text improved. +- withRounded method added for Vx. + +This classes are renamed (Breaking change). + +1. VelocityX -> Vx + +1. VelocityAnimatedBox -> VxAnimatedBox +1. VelocityConditional -> VxConditional +1. VelocityConditionalSwitch -> VxConditionalSwitch +1. VelocityEnsureVisibleWhenFocused -> VxEnsureVisibleWhenFocused + +1. VelocityDevice -> VxDevice +1. VelocityResponsive -> VxResponsive +1. VelocityTwo -> VxTwo +1. VelocityTwoColumn -> VxTwoColumn +1. VelocityTwoRow -> VxTwoRow +1. VelocityZeroCard -> VxZeroCard +1. VelocityZeroList -> VxZeroList + +1. VelocityBox -> VxBox +1. VelocityXBlock -> VxBlock +1. VelocityXInlineBlock -> VxInlineBlock +1. VelocityDiscList -> VxDiscList +1. VelocityDecimalList -> VxDecimalList + ## [0.2.0] - April 01, 2020 + -- Added support for rich text. -- Added support for animated container. -- Added new textstyle prop for all kind of texts. diff --git a/example/pubspec.lock b/example/pubspec.lock index b4a080b..a25a231 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -183,7 +183,7 @@ packages: path: ".." relative: true source: path - version: "0.2.0" + version: "0.3.0" xml: dependency: transitive description: diff --git a/lib/src/flutter/animated/animated_container.dart b/lib/src/flutter/animated/animated_container.dart index 1bb236b..b555d1a 100644 --- a/lib/src/flutter/animated/animated_container.dart +++ b/lib/src/flutter/animated/animated_container.dart @@ -82,6 +82,8 @@ class VxAnimatedBox extends VxWidgetBuilder VxAnimatedBox sweepGradient(List colors) => this.._gradient = SweepGradient(colors: colors); + VxAnimatedBox withGradient(Gradient gradient) => this.._gradient = gradient; + VxAnimatedBox margin(EdgeInsetsGeometry val) => this.._margin = val; // DecorationImage BoxDecoration diff --git a/lib/src/flutter/container.dart b/lib/src/flutter/container.dart index 2b87e3b..dfd0207 100644 --- a/lib/src/flutter/container.dart +++ b/lib/src/flutter/container.dart @@ -224,6 +224,8 @@ class VxBox extends VxWidgetBuilder VxBox sweepGradient(List colors) => this.._gradient = SweepGradient(colors: colors); + VxBox withGradient(Gradient gradient) => this.._gradient = gradient; + VxBox bgImage(DecorationImage image) => this.._bgImage = image; VxBox neumorphic( diff --git a/pubspec.yaml b/pubspec.yaml index 04bb117..2a85950 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: velocity_x description: A minimalist Flutter framework for rapidly building custom designs. -version: 0.2.0 +version: 0.3.0 homepage: https://velocityx.dev repository: https://github.com/iampawan/VelocityX