2020-07-11 13:33:31 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class StrokeOrderGif extends StatelessWidget {
|
2021-03-03 00:24:25 +01:00
|
|
|
final String uri;
|
2020-07-11 13:33:31 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Container(
|
|
|
|
margin: EdgeInsets.symmetric(vertical: 20.0),
|
|
|
|
padding: EdgeInsets.all(5.0),
|
|
|
|
child: ClipRRect(
|
2021-03-03 00:24:25 +01:00
|
|
|
child: Image.network(uri),
|
2020-07-11 13:33:31 +02:00
|
|
|
borderRadius: BorderRadius.circular(10.0),
|
|
|
|
),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.blue,
|
|
|
|
borderRadius: BorderRadius.circular(15.0),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2021-03-03 00:24:25 +01:00
|
|
|
StrokeOrderGif(this.uri);
|
2020-07-11 13:33:31 +02:00
|
|
|
}
|