1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-14 02:41:50 +01:00
Jisho-Study-Tool/lib/components/kanji/kanji__search_page/parts/header.dart

22 lines
511 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);
}