Skip to content

Consider using ThemeExtensions #93

@nivisi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions