1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2025-01-05 11:27:29 +01:00
Jisho-Study-Tool/lib/view/components/kanji/result/header.dart
2021-07-17 12:19:03 +02:00

22 lines
508 B
Dart

import 'package:flutter/material.dart';
class Header extends StatelessWidget {
final String kanji;
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10.0), color: Colors.blue),
child: Padding(
padding: const EdgeInsets.all(10.0),
child: Text(
kanji,
style: TextStyle(fontSize: 80.0, color: Colors.white),
),
),
);
}
Header(this.kanji);
}