Add Stroke Order Gif to kanji

This commit is contained in:
Oystein Kristoffer Tveit 2020-07-09 23:09:31 +02:00
parent f214976893
commit c5e3247516
1 changed files with 14 additions and 0 deletions

View File

@ -86,6 +86,20 @@ class KanjiResultCard extends StatelessWidget {
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [_JlptLevel(_result.jlptLevel), _Grade(_result.taughtIn)],
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
margin: EdgeInsets.symmetric(vertical: 20.0),
padding: EdgeInsets.all(10.0),
child: Image.network(_result.strokeOrderGifUri),
decoration: BoxDecoration(
color: Colors.blue,
borderRadius: BorderRadius.circular(10.0),
),
)
],
)
],
);