mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-22 13:57:29 +01:00
28 lines
541 B
Dart
28 lines
541 B
Dart
|
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,
|
||
|
],
|
||
|
);
|
||
|
}
|
||
|
}
|