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

discontinued
outdated

Flutter plugin for works with colors schemes like a hex, hsl, xyz and cielab

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:native_color/native_color.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          body: SafeArea(
        child: Padding(
          padding: EdgeInsets.all(64),
          child: Column(
            children: <Widget>[
              Text(
                'Color hex',
                style: TextStyle(color: HexColor('#ff0000')),
              ),
              Text(
                'Color hsl',
                style: TextStyle(color: HslColor(120, 100, 50)),
              ),
              Text(
                'Color xyz',
                style: TextStyle(color: XyzColor(14.31, 6.06, 71.42)),
              ),
              Text(
                'Color cielab',
                style: TextStyle(color: XyzColor(60.17, 93.55, -60.50)),
              ),
            ],
          ),
        ),
      )),
    );
  }
}
1
likes
0
pub points
43%
popularity

Publisher

verified publisherscer.io

Flutter plugin for works with colors schemes like a hex, hsl, xyz and cielab

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on native_color