color_vision_deficiency 0.0.1 copy "color_vision_deficiency: ^0.0.1" to clipboard
color_vision_deficiency: ^0.0.1 copied to clipboard

[pending analysis]

A set of tools to develop better apps for people with color vision deficiency (aka color blindness)

A set of tools to develop better apps for people with Color Vision Deficiency (CVD, aka color blindness). This lets you see how your app appears in the eyes of someone with CVD.

[Normal] [Protanopia] [Tritanopia]

Getting started #

Wrap your MaterialApp with ColorDeficiencyFiltered to see what it looks like in the eyes of people with CVD. Use ColorDeficiencyDropdown to easily switch between different types of CVD.

Usage #

IMPORTANT: To use ColorDeficiencyDropdown, you must include the translations delegate in your MaterialApp constructor:

import 'package:color_vision_deficiency/l10n/app_localizations.dart' as cvd;

MaterialApp(
  // ...
  localizationsDelegates: [
   ...AppLocalizations.localizationsDelegates,
   cvd.AppLocalizations.delegate,
  ],
  supportedLocales: S.locales,
);
0
likes
0
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A set of tools to develop better apps for people with color vision deficiency (aka color blindness)

Repository (GitHub)
View/report issues

License

(pending) (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on color_vision_deficiency