mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2025-01-05 11:27:29 +01:00
23 lines
551 B
Dart
23 lines
551 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class StrokeOrderGif extends StatelessWidget {
|
|
final String uri;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
margin: EdgeInsets.symmetric(vertical: 20.0),
|
|
padding: EdgeInsets.all(5.0),
|
|
child: ClipRRect(
|
|
child: Image.network(uri),
|
|
borderRadius: BorderRadius.circular(10.0),
|
|
),
|
|
decoration: BoxDecoration(
|
|
color: Colors.blue,
|
|
borderRadius: BorderRadius.circular(15.0),
|
|
),
|
|
);
|
|
}
|
|
|
|
StrokeOrderGif(this.uri);
|
|
} |