mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-14 02:41:50 +01:00
26 lines
509 B
Dart
26 lines
509 B
Dart
|
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class JlptLevel extends StatelessWidget {
|
||
|
final String _jlptLevel;
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Container(
|
||
|
padding: EdgeInsets.all(10.0),
|
||
|
child: Text(
|
||
|
_jlptLevel,
|
||
|
style: TextStyle(
|
||
|
color: Colors.white,
|
||
|
fontSize: 20.0,
|
||
|
),
|
||
|
),
|
||
|
decoration: BoxDecoration(
|
||
|
shape: BoxShape.circle,
|
||
|
color: Colors.blue,
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
JlptLevel(this._jlptLevel);
|
||
|
}
|