ExpansionPanel animation fixes (#13032)

Previously, ExpansionPanel would do weird things if interacted with
when it was already animating. This is fixed and there's now a test.

Also:

 * Minor fixes to make the gallery work in RTL, not that there's
   any way to see that without hard-coding the framework to RTL.
   But at least I'll be less annoyed when doing that.

 * Some trivial code and documentation cleanup.
This commit is contained in:
Ian Hickson
2017-11-16 10:22:50 -08:00
committed by GitHub
parent 19cac92793
commit c97fc2063f
15 changed files with 156 additions and 54 deletions

View File

@@ -142,8 +142,8 @@ class GalleryHomeState extends State<GalleryHome> with SingleTickerProviderState
new MergeSemantics(
child: new Container(
height: 48.0,
padding: const EdgeInsets.only(left: 16.0),
alignment: Alignment.centerLeft,
padding: const EdgeInsetsDirectional.only(start: 16.0),
alignment: AlignmentDirectional.centerStart,
child: new Text(galleryItem.category, style: headerStyle)
),
)