1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-03 04:58:50 +00:00

Added title (#614)

This commit is contained in:
Alabhya
2020-12-15 11:31:15 +05:30
committed by GitHub
parent 8af3a63da3
commit e940d54618
14 changed files with 35 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ class _AnimatedPositionedDemoState extends State<AnimatedPositionedDemo> {
@override
Widget build(BuildContext context) {
final size = MediaQuery.of(context).size;
final appBar = AppBar();
final appBar = AppBar(title: Text('AnimatedPositioned'));
final topPadding = MediaQuery.of(context).padding.top;
// AnimatedPositioned animates changes to a widget's position within a Stack
return SafeArea(