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

This package provides top unicorn Brand colors.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:unicorn_color/unicorn_color.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        useMaterial3: true,
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('unicorn Color Demo'),
      ),
      body: Column(
        children: <Widget>[
          Expanded(child: Container(color: HexColor('#ff980045'))),
          Expanded(child: Container(color: UnicornColor.googleBlue)),
          Expanded(child: Container(color: UnicornColor.googleRed)),
          Expanded(child: Container(color: UnicornColor.googleGreen)),
        ],
      ),
    );
  }
}
0
likes
140
points
0
downloads

Publisher

verified publishermonzim.com

Weekly Downloads

This package provides top unicorn Brand colors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on unicorn_color