* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
Lioness100
2023-02-23 14:43:21 -05:00
committed by GitHub
parent 3681b27a47
commit 26b6c1bedd
175 changed files with 285 additions and 284 deletions

View File

@@ -15,7 +15,7 @@ class MyApp extends StatefulWidget {
}
class _MyAppState extends State<MyApp> {
Offset dragGesturePositon = Offset.zero;
Offset dragGesturePosition = Offset.zero;
@override
Widget build(BuildContext context) {
@@ -32,14 +32,14 @@ class _MyAppState extends State<MyApp> {
GestureDetector(
onPanUpdate: (DragUpdateDetails details) => setState(
() {
dragGesturePositon = details.localPosition;
dragGesturePosition = details.localPosition;
},
),
child: const FlutterLogo(size: 200),
),
Positioned(
left: dragGesturePositon.dx,
top: dragGesturePositon.dy,
left: dragGesturePosition.dx,
top: dragGesturePosition.dy,
child: const RawMagnifier(
decoration: MagnifierDecoration(
shape: CircleBorder(

View File

@@ -46,7 +46,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
body: CustomScrollView(
slivers: <Widget>[
const SliverToBoxAdapter(
child: ListTile(title: Text('Press on the button to toggle the list visibilty.')),
child: ListTile(title: Text('Press on the button to toggle the list visibility.')),
),
const SliverToBoxAdapter(
child: ListTile(title: Text('Before the list...')),

View File

@@ -82,7 +82,7 @@ class CustomMagnifier extends StatelessWidget {
),
);
// Finally, align the magnifier to the bottom center. The inital anchor is
// Finally, align the magnifier to the bottom center. The initial anchor is
// the top left, so subtract bottom center alignment.
magnifierPosition -= Alignment.bottomCenter.alongSize(magnifierSize);