Jisho-Study-Tool/lib/components/common/denshi_jisho_background.dart

28 lines
552 B
Dart
Raw Normal View History

2022-01-23 23:56:26 +01:00
import 'package:flutter/material.dart';
class DenshiJishoBackground extends StatelessWidget {
final Widget child;
const DenshiJishoBackground({
Key? key,
required this.child,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Stack(
children: [
Positioned(
right: 30,
left: 100,
bottom: 30,
child: Image.asset(
2022-05-07 19:46:33 +02:00
'assets/images/components/denshi_jisho_background_overlay.png',
2022-01-23 23:56:26 +01:00
),
),
child,
],
);
}
}