color_parser 0.0.2 copy "color_parser: ^0.0.2" to clipboard
color_parser: ^0.0.2 copied to clipboard

outdated

A package to parse the color. Parse the color and then you can get different values of color such as RGB, HSL, HWB, HEXcode, color name, Ncol, etc. It is inspired by the JS library https://www.w3schoo [...]

example/lib/main.dart

import 'package:flutter/material.dart';

import 'example.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      // use the light theme mode always
      themeMode: ThemeMode.light,
      home: Example(),
    );
  }
}
8
likes
30
pub points
81%
popularity

Publisher

verified publisherdeepakdroid.xyz

A package to parse the color. Parse the color and then you can get different values of color such as RGB, HSL, HWB, HEXcode, color name, Ncol, etc. It is inspired by the JS library https://www.w3schools.com/lib/w3color.js

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on color_parser