MGS-Developers / my-mgs

The MyMGS app's mobile-native client
MIT License
1 stars 0 forks source link

Implement a club info screen #3

Closed palkerecsenyi closed 3 years ago

palkerecsenyi commented 3 years ago

Make a screen that displays more info about a club.

No need for database queries or anything — your screen will receive data through its class constructor. Make sure to add support for this, e.g.:

class ClubInfo extends StatelessWidget {
    final Club club;
    const ClubInfo({
        @required this.club,
    });
    // ...
}

Making the list of clubs and the navigation logic is part of #1

palkerecsenyi commented 3 years ago

The event info screen now contains a button that will link to this club info screen once it exists.

Also, I've created this widget to standardise pages that contain hero images, so @ravingrebel you might want to use it for this page. It's designed as a replacement for Scaffold, with some breaking changes: https://github.com/MGS-School-Council/my-mgs/blob/dd71d6de5300e91c145280b102f08fdf99da74e5/lib/widgets/hero/image_scaffold.dart