Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Feb 27, 2024
1 parent 109e6f5 commit 27e8a43
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/src/builder/motion_animated_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,7 @@ class MotionBuilderState extends State<MotionBuilder>
return true;
}());

final Key itemGlobalKey =
_MotionBuilderItemGlobalKey(child.key!, this);
final Key itemGlobalKey = _MotionBuilderItemGlobalKey(child.key!, this);
final Widget builder = _insertItemBuilder(incomingItem, child);

final motionData = childrenMap[index];
Expand Down Expand Up @@ -651,8 +650,7 @@ class MotionBuilderState extends State<MotionBuilder>
}());

final Widget itemWithSemantics = _wrapWithSemantics(item, index);
final Key itemGlobalKey =
_MotionBuilderItemGlobalKey(item.key!, this);
final Key itemGlobalKey = _MotionBuilderItemGlobalKey(item.key!, this);
const bool enable = true;
return ReorderableGridDelayedDragStartListener(
key: itemGlobalKey,
Expand Down Expand Up @@ -751,8 +749,7 @@ Offset _extentOffset(double extent, Axis scrollDirection) {

@optionalTypeArgs
class _MotionBuilderItemGlobalKey extends GlobalObjectKey {
const _MotionBuilderItemGlobalKey(this.subKey, this.state)
: super(subKey);
const _MotionBuilderItemGlobalKey(this.subKey, this.state) : super(subKey);

final Key subKey;
final State state;
Expand Down

0 comments on commit 27e8a43

Please sign in to comment.