Add files via upload

This commit is contained in:
ReinerRego
2023-05-26 21:50:08 +02:00
committed by GitHub
parent 258a6ab8d3
commit baec76c29f
39 changed files with 5892 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import 'package:filcnaplo_premium/ui/mobile/goal_planner/goal_input.dart';
import 'package:flutter/material.dart';
class GradeDisplay extends StatelessWidget {
const GradeDisplay({Key? key, required this.grade}) : super(key: key);
final int grade;
@override
Widget build(BuildContext context) {
return Container(
width: 36,
height: 36,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: gradeColor(grade).withOpacity(.3),
),
child: Center(
child: Text(
grade.toInt().toString(),
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 22.0,
color: gradeColor(grade),
),
),
),
);
}
}