Report Card

Loading preview

Starting the Flutter app

A showcase of Flutter's report card functionality

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

A summary Card shows GPA: 3.8 and the term, followed by one ListTile per entry in _grades with its letter and percentage. Both summary values are literals, so the GPA is not calculated from the grades listed beneath it. Nothing on the page is interactive.

Adapting it

  • Calculate the GPA from _grades using your institution’s point scale.
  • Add constructor parameters to ReportCard for the student and term, replacing Spring 2025.
  • Decide whether grade comes from the server or is derived from score, so the two can never disagree.