diff --git a/filcnaplo_mobile_ui/lib/pages/grades/grades_count.dart b/filcnaplo_mobile_ui/lib/pages/grades/grades_count.dart index 5dd5274..8d1ad8d 100755 --- a/filcnaplo_mobile_ui/lib/pages/grades/grades_count.dart +++ b/filcnaplo_mobile_ui/lib/pages/grades/grades_count.dart @@ -19,37 +19,38 @@ class GradesCount extends StatelessWidget { child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text.rich( - TextSpan(children: [ - TextSpan( - text: gradesCount.reduce((a, b) => a + b).toString(), - style: const TextStyle(fontWeight: FontWeight.w600), - ), - const TextSpan( - text: "x", - style: TextStyle( - fontSize: 13.0, - ), - ), - ]), - style: const TextStyle(fontSize: 15.0), - ), - const SizedBox( - width: 10.0, - ), - ClipRRect( - borderRadius: BorderRadius.circular(10.0), - child: VerticalDivider( - width: 2, - thickness: 2, - indent: 2, - endIndent: 2, - color: MediaQuery.of(context).platformBrightness == - Brightness.light - ? Colors.grey.shade300 - : Colors.grey.shade700, - ), - ), + // TODO: make a new widget here, cuz this will not fit + // Text.rich( + // TextSpan(children: [ + // TextSpan( + // text: gradesCount.reduce((a, b) => a + b).toString(), + // style: const TextStyle(fontWeight: FontWeight.w600), + // ), + // const TextSpan( + // text: "x", + // style: TextStyle( + // fontSize: 13.0, + // ), + // ), + // ]), + // style: const TextStyle(fontSize: 15.0), + // ), + // const SizedBox( + // width: 10.0, + // ), + // ClipRRect( + // borderRadius: BorderRadius.circular(10.0), + // child: VerticalDivider( + // width: 2, + // thickness: 2, + // indent: 2, + // endIndent: 2, + // color: MediaQuery.of(context).platformBrightness == + // Brightness.light + // ? Colors.grey.shade300 + // : Colors.grey.shade700, + // ), + // ), Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: gradesCount @@ -58,6 +59,9 @@ class GradesCount extends StatelessWidget { child: GradesCountItem(count: e, value: index + 1))) .toList(), ), + const SizedBox( + width: 8.0, + ), ], ), ),