Skip to content

Missing changes from Episode #36 (Adding a custom navigation bar to DashCast Part 2) #2

@ghost

Description

Hi guys,

I've checked your last episode about code refactoring and it seems that someone forgot to push changes after episode 36 with color change animation.

BeaconPainter class has only 2 properties whereas should have 4 (missing beaconColor and endColor):

dashcast/lib/main.dart

Lines 138 to 141 in fbb8aa1

class BeaconPainter extends CustomPainter {
final double beaconRadius;
final double maxBeaconRadius;
BeaconPainter({this.beaconRadius, this.maxBeaconRadius});

As a reference: https://youtu.be/JPWtboReduA?t=3657

If you do not mind I can create a pull request with missing changes :-)

Have a great day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions