copyWith property

  1. @override
FlyBox Function(FlyStyle newStyle) get copyWith
override

Implementation

@override
FlyBox Function(FlyStyle newStyle) get copyWith => (newStyle) {
  return FlyBox(
    key: key,
    child: child,
    children: children,
    alignment: alignment,
    padding: padding,
    margin: margin,
    decoration: decoration,
    foregroundDecoration: foregroundDecoration,
    width: width,
    height: height,
    constraints: constraints,
    transform: transform,
    transformAlignment: transformAlignment,
    clipBehavior: clipBehavior,
    flyStyle: newStyle,
  );
};