Use case
Currently, there is no way to center-align a widget inside InteractiveViewer.
Proposal
Provide a way to change the transform's alignment that lies within InteractiveViewer.
|
Widget child = Transform( |
|
transform: matrix, |
|
child: KeyedSubtree( |
|
key: childKey, |
|
child: this.child, |
|
), |
Use case
Currently, there is no way to center-align a widget inside
InteractiveViewer.Proposal
Provide a way to change the transform's alignment that lies within InteractiveViewer.
flutter/packages/flutter/lib/src/widgets/interactive_viewer.dart
Lines 1091 to 1096 in 759d0e1