Skip to content

Consider using ThemeExtensions #93

Description

@nivisi

Theme extensions is a cool way of managing colors, typography etc. We can still make it available via build context extensions like this:

final colors = context.colors;
final typography = context.typography;

Video: https://youtu.be/8-szcYzFVao

API: https://api.flutter.dev/flutter/material/ThemeExtension-class.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions