Skip to content

Upgrading styled_widget 0.0 to 0.1

Breaking0.0.8+1 → 0.1.3Breaking1New8Changed2Fixed2

BreakingUpgrade verdict

1 breaking change.

  • Calls that pass animate options by name must be rewritten to pass them positionally.
1 item needs code or config changes
Breaking1
Changes animate parameters from named to positional and required.
animate

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • removed: extension Styled on Widget
  • removed: extension StyledIcon on Icon
  • removed: extension StyledText on Text
  • removed: extension StyledTextSpan on TextSpan
  • removed: method Styled.alignment( AlignmentGeometry alignment, { bool animate = …, }): Widget
  • removed: method Styled.animate({ @required Duration duration, Curve curve = …, }): Widget
  • removed: method Styled.backgroundBlendMode(BlendMode blendMode, {bool animate = …}): Widget
  • removed: method Styled.backgroundBlur( double sigma, { bool animate = …, }): Widget
  • removed: method Styled.backgroundColor(Color color, {bool animate = …}): Widget
  • removed: method Styled.backgroundGradient(Gradient gradient, {bool animate = …}): Widget
  • removed: method Styled.backgroundImage(DecorationImage image, {bool animate = …}): Widget
  • removed: method Styled.backgroundLinearGradient({ AlignmentGeometry begin = …, AlignmentGeometry end = …, List<Color> colors, List<double> stops, TileMode tileMode = …, GradientTransform transform, bool animate = …, }): Widget
  • removed: method Styled.backgroundRadialGradient( {AlignmentGeometry center = …, double radius = …, List<Color> colors, List<double> stops, TileMode tileMode = …, AlignmentGeometry focal, double focalRadius = …, GradientTransform transform, bool animate = …}): Widget
  • removed: method Styled.backgroundSweepGradient( {AlignmentGeometry center = …, double startAngle = …, double endAngle = …, List<Color> colors, List<double> stops, TileMode tileMode = …, GradientTransform transform, bool animate = …}): Widget
  • removed: method Styled.border({ double all, double left, double right, double top, double bottom, Color color = …, BorderStyle style = …, bool animate = …, }): Widget
  • removed: method Styled.borderRadius({ double all, double topLeft, double topRight, double bottomLeft, double bottomRight, bool animate = …, }): Widget
  • removed: method Styled.boxShadow({ Color color = …, Offset offset = …, double blurRadius = …, double spreadRadius = …, bool animate = …, }): Widget
  • removed: method Styled.clipOval(): Widget
  • removed: method Styled.constraints({ double width, double height, double minWidth = …, double maxWidth = …, double minHeight = …, double maxHeight = …, bool animate = …, }): Widget
  • removed: method Styled.decoration({ Color color, DecorationImage image, BoxBorder border, BorderRadius borderRadius, List<BoxShadow> boxShadow, Gradient gradient, BlendMode backgroundBlendMode, BoxShape shape = …, DecorationPosition position = …, bool animate = …, }): Widget
  • removed: method Styled.elevation( double elevation, { Color shadowColor = …, bool animate = …, }): Widget
  • removed: method Styled.gestures({ GestureOnTapChangeCallback onTapChange, GestureTapDownCallback onTapDown, GestureTapUpCallback onTapUp, GestureTapCallback onTap, GestureTapCancelCallback onTapCancel, GestureTapDownCallback onSecondaryTapDown, GestureTapUpCallback onSecondaryTapUp, GestureTapCancelCallback onSecondaryTapCancel, GestureTapCallback onDoubleTap, GestureLongPressCallback onLongPress, Gesture…
  • removed: method Styled.height(double height, {bool animate = …}): Widget
  • removed: method Styled.opacity( double opacity, { bool animate = …, }): Widget
  • removed: method Styled.overflow(): Widget
  • removed: method Styled.padding({ double all, double horizontal, double vertical, double top, double bottom, double left, double right, bool animate = …, }): Widget
  • removed: method Styled.ripple({ Color focusColor, Color hoverColor, Color highlightColor, Color splashColor, InteractiveInkFeatureFactory splashFactory, double radius, ShapeBorder customBorder, bool enableFeedback = …, bool excludeFromSemantics = …, FocusNode focusNode, bool canRequestFocus = …, bool autoFocus = …, }): Widget
  • removed: method Styled.rotate({ @required double angle, Offset origin, AlignmentGeometry alignment = …, bool transformHitTests = …, bool animate = …, }): Widget
  • removed: method Styled.scale( double scale, { Offset origin, AlignmentGeometry alignment = …, bool transformHitTests = …, bool animate = …, }): Widget
  • removed: method Styled.scrollable( {Axis scrollDirection = …, bool reverse = …, bool primary, ScrollPhysics physics, ScrollController controller, DragStartBehavior dragStartBehavior = …}): Widget
  • removed: method Styled.semanticsLabel(String label): Widget
  • removed: method Styled.transform({ @required Matrix4 transform, Offset origin, AlignmentGeometry alignment, bool transformHitTests = …, bool animate = …, }): Widget
  • removed: method Styled.translate({ @required Offset offset, bool transformHitTests = …, bool animate = …, }): Widget
  • removed: method Styled.width(double width, {bool animate = …}): Widget
  • removed: method StyledText.animateText( {@required Duration duration, Curve curve = …}): Widget
  • changed: method StyledIcon.copyWith({ double size, Color color, String semanticLabel, TextDirection textDirection, }): Icon → method StyledIcon.copyWith({ double size, Color color, String semanticLabel, TextDirection textDirection, }): T
  • changed: method StyledIcon.iconColor(Color color): Icon → method StyledIcon.iconColor(Color color): T
  • changed: method StyledIcon.iconSize(double size): Icon → method StyledIcon.iconSize(double size): T
  • changed: method StyledText.bold(): Text → method StyledText.bold(): T
  • changed: method StyledText.copyWith({ String data, TextStyle style, StrutStyle strutStyle, TextAlign textAlign, TextDirection textDirection, Locale locale, bool softWrap, TextOverflow overflow, double textScaleFactor, int maxLines, String semanticsLabel, TextWidthBasis textWidthBasis, }): Text → method StyledText.copyWith({ String data, TextStyle style, StrutStyle strutStyle, TextAlign textAlign, TextDirection textDirection, Locale locale, bool softWrap, TextOverflow overflow, double textScaleFactor, int maxLines, String semanticsLabel, TextWidthBasis textWidthBasis, }): T
  • changed: method StyledText.fontFamily(String font): Text → method StyledText.fontFamily(String font): T
  • changed: method StyledText.fontSize(double size): Text → method StyledText.fontSize(double size): T
  • changed: method StyledText.fontWeight(FontWeight fontWeight): Text → method StyledText.fontWeight(FontWeight fontWeight): T
  • changed: method StyledText.italic(): Text → method StyledText.italic(): T
  • changed: method StyledText.letterSpacing(double space): Text → method StyledText.letterSpacing(double space): T
  • changed: method StyledText.textAlignment(TextAlign align): Text → method StyledText.textAlignment(TextAlign align): T
  • changed: method StyledText.textBaseline(TextBaseline textBaseline): Text → method StyledText.textBaseline(TextBaseline textBaseline): T
  • changed: method StyledText.textColor(Color color): Text → method StyledText.textColor(Color color): T
  • changed: method StyledText.textDirection(TextDirection direction): Text → method StyledText.textDirection(TextDirection direction): T
  • changed: method StyledText.textElevation( double elevation, { double angle = …, Color color = …, double opacityRatio = …, Duration duration, Curve curve = …, }): Text → method StyledText.textElevation( double elevation, { double angle = …, Color color = …, double opacityRatio = …, }): T
  • changed: method StyledText.textScale(double scaleFactor): Text → method StyledText.textScale(double scaleFactor): T
  • changed: method StyledText.textShadow({ Color color = …, double blurRadius = …, Offset offset = …, }): Text → method StyledText.textShadow({ Color color = …, double blurRadius = …, Offset offset = …, }): T
  • changed: method StyledText.textWidthBasis(TextWidthBasis textWidthBasis): Text → method StyledText.textWidthBasis(TextWidthBasis textWidthBasis): T
  • changed: method StyledText.wordSpacing(double space): Text → method StyledText.wordSpacing(double space): T
  • changed: method StyledTextSpan.bold(): TextSpan → method StyledTextSpan.bold(): T
  • changed: method StyledTextSpan.fontFamily(String font): TextSpan → method StyledTextSpan.fontFamily(String font): T
  • changed: method StyledTextSpan.fontSize(double size): TextSpan → method StyledTextSpan.fontSize(double size): T
  • changed: method StyledTextSpan.fontWeight(FontWeight fontWeight): TextSpan → method StyledTextSpan.fontWeight(FontWeight fontWeight): T
  • changed: method StyledTextSpan.italic(): TextSpan → method StyledTextSpan.italic(): T
  • changed: method StyledTextSpan.letterSpacing(double space): TextSpan → method StyledTextSpan.letterSpacing(double space): T
  • changed: method StyledTextSpan.textBaseline(TextBaseline textBaseline): TextSpan → method StyledTextSpan.textBaseline(TextBaseline textBaseline): T
  • changed: method StyledTextSpan.textColor(Color color): TextSpan → method StyledTextSpan.textColor(Color color): T
  • changed: method StyledTextSpan.textShadow({ Color color = …, double blurRadius = …, Offset offset = …, }): TextSpan → method StyledTextSpan.textShadow({ Color color = …, double blurRadius = …, Offset offset = …, }): T
  • changed: method StyledTextSpan.wordSpacing(double space): TextSpan → method StyledTextSpan.wordSpacing(double space): T
  • added: class Styled
  • added: extension StyledIcon<T extends Icon> on T
  • added: extension StyledText<T extends Text> on T
  • added: extension StyledTextSpan<T extends TextSpan> on T
  • added: extension StyledWidget on Widget
  • added: method StyledText.textStyle(TextStyle style): T
  • added: method StyledTextSpan.textElevation( double elevation, { double angle = …, Color color = …, double opacityRatio = …, }): T
  • added: method StyledTextSpan.textStyle(TextStyle style): T
  • added: method StyledWidget.alignment( AlignmentGeometry alignment, { bool animate = …, }): Widget
  • added: method StyledWidget.animate( Duration duration, Curve curve, ): Widget
  • added: method StyledWidget.backgroundBlendMode(BlendMode blendMode, {bool animate = …}): Widget
  • added: method StyledWidget.backgroundBlur( double sigma, { bool animate = …, }): Widget
  • added: method StyledWidget.backgroundColor(Color color, {bool animate = …}): Widget
  • added: method StyledWidget.backgroundGradient(Gradient gradient, {bool animate = …}): Widget
  • added: method StyledWidget.backgroundImage(DecorationImage image, {bool animate = …}): Widget
  • added: method StyledWidget.backgroundLinearGradient({ AlignmentGeometry begin = …, AlignmentGeometry end = …, List<Color> colors, List<double> stops, TileMode tileMode = …, GradientTransform transform, bool animate = …, }): Widget
  • added: method StyledWidget.backgroundRadialGradient( {AlignmentGeometry center = …, double radius = …, List<Color> colors, List<double> stops, TileMode tileMode = …, AlignmentGeometry focal, double focalRadius = …, GradientTransform transform, bool animate = …}): Widget
  • added: method StyledWidget.backgroundSweepGradient( {AlignmentGeometry center = …, double startAngle = …, double endAngle = …, List<Color> colors, List<double> stops, TileMode tileMode = …, GradientTransform transform, bool animate = …}): Widget
  • added: method StyledWidget.border({ double all, double left, double right, double top, double bottom, Color color = …, BorderStyle style = …, bool animate = …, }): Widget
  • added: method StyledWidget.borderRadius({ double all, double topLeft, double topRight, double bottomLeft, double bottomRight, bool animate = …, }): Widget
  • added: method StyledWidget.boxShadow({ Color color = …, Offset offset = …, double blurRadius = …, double spreadRadius = …, bool animate = …, }): Widget
  • added: method StyledWidget.clipOval(): Widget
  • added: method StyledWidget.clipRRect({ double all, double topLeft, double topRight, double bottomLeft, double bottomRight, CustomClipper<RRect> clipper, Clip clipBehavior = …, bool animate = …, }): Widget
  • added: method StyledWidget.clipRect({ CustomClipper<Rect> clipper, Clip clipBehavior = …, }): Widget
  • added: method StyledWidget.constraints({ double width, double height, double minWidth = …, double maxWidth = …, double minHeight = …, double maxHeight = …, bool animate = …, }): Widget
  • added: method StyledWidget.decoration({ Color color, DecorationImage image, BoxBorder border, BorderRadius borderRadius, List<BoxShadow> boxShadow, Gradient gradient, BlendMode backgroundBlendMode, BoxShape shape = …, DecorationPosition position = …, bool animate = …, }): Widget
  • added: method StyledWidget.elevation( double elevation, { double angle = …, Color shadowColor = …, double opacity = …, bool animate = …, }): Widget
  • added: method StyledWidget.expanded({ int flex = …, }): Widget
  • added: method StyledWidget.flexible({ int flex = …, FlexFit fit = …, }): Widget
  • added: method StyledWidget.gestures({ GestureOnTapChangeCallback onTapChange, GestureTapDownCallback onTapDown, GestureTapUpCallback onTapUp, GestureTapCallback onTap, GestureTapCancelCallback onTapCancel, GestureTapDownCallback onSecondaryTapDown, GestureTapUpCallback onSecondaryTapUp, GestureTapCancelCallback onSecondaryTapCancel, GestureTapCallback onDoubleTap, GestureLongPressCallback onLongPress, G…
  • added: method StyledWidget.height(double height, {bool animate = …}): Widget
  • added: method StyledWidget.opacity( double opacity, { bool animate = …, }): Widget
  • added: method StyledWidget.overflow({ AlignmentGeometry alignment = …, double minWidth, double maxWidth, double minHeight, double maxHeight, }): Widget
  • added: method StyledWidget.padding({ double all, double horizontal, double vertical, double top, double bottom, double left, double right, bool animate = …, }): Widget
  • added: method StyledWidget.positioned({ double left, double top, double right, double bottom, double width, double height, bool animate = …, }): Widget
  • added: method StyledWidget.ripple({ Color focusColor, Color hoverColor, Color highlightColor, Color splashColor, InteractiveInkFeatureFactory splashFactory, double radius, ShapeBorder customBorder, bool enableFeedback = …, bool excludeFromSemantics = …, FocusNode focusNode, bool canRequestFocus = …, bool autoFocus = …, }): Widget
  • added: method StyledWidget.rotate({ @required double angle, Offset origin, AlignmentGeometry alignment = …, bool transformHitTests = …, bool animate = …, }): Widget
  • added: method StyledWidget.scale( double scale, { Offset origin, AlignmentGeometry alignment = …, bool transformHitTests = …, bool animate = …, }): Widget
  • added: method StyledWidget.scrollable({ Axis scrollDirection = …, bool reverse = …, bool primary, ScrollPhysics physics, ScrollController controller, DragStartBehavior dragStartBehavior = …, }): Widget
  • added: method StyledWidget.semanticsLabel(String label): Widget
  • added: method StyledWidget.transform({ @required Matrix4 transform, Offset origin, AlignmentGeometry alignment, bool transformHitTests = …, bool animate = …, }): Widget
  • added: method StyledWidget.translate({ @required Offset offset, bool transformHitTests = …, bool animate = …, }): Widget
  • added: method StyledWidget.width(double width, {bool animate = …}): Widget
  • added: static method Styled.icon(IconData icon, {Key key, double size, Color color, String semanticLabel, TextDirection textDirection, bool animate = …}): Icon
  • added: static method Styled.text( String data, { TextStyle style, StrutStyle strutStyle, TextAlign textAlign, TextDirection textDirection, Locale locale, bool softWrap, TextOverflow overflow, double textScaleFactor, int maxLines, String semanticsLabel, TextWidthBasis textWidthBasis, bool animate = …, }): Text