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

28 lines
541 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(
'assets/images/denshi_jisho_background_overlay.png',
),
),
child,
],
);
}
}