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