easy_home_design_library 0.0.3 copy "easy_home_design_library: ^0.0.3" to clipboard
easy_home_design_library: ^0.0.3 copied to clipboard

Easy Home Design Library is a reusable Flutter package that centralizes commonly used UI components, color schemes, and text styles. It enables consistent theming and visual standards across multiple [...]

Easy Home Design Library #

A centralized design system package for Easy Home applications. This package provides a consistent set of UI components, colors, and text styles to maintain design consistency across all Easy Home applications.

Features #

  • 🎨 Consistent color palette with semantic color naming
  • 📝 Predefined text styles for various use cases
  • 🧩 Reusable UI components with the EH prefix
  • 🎯 Production-ready, well-documented code
  • 🚀 Easy to integrate and use

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  easy_home_design_library:
    git:
      url: https://github.com/your-org/easy_home_design_library.git
      ref: main  # or the specific version you want to use

Usage #

Import the package in your Dart code:

import 'package:easy_home_design_library/easy_home_design_library.dart';

Using Colors #

Container(
  color: EHColors.primary,
  child: Text('Hello World'),
)

Using Text Styles #

Text(
  'Hello World',
  style: EHTextStyles.headline,
)

Using Components #

EHButton(
  label: 'Click Me',
  onPressed: () {
    // Handle button press
  },
  variant: EHButtonVariant.primary,
  size: EHButtonSize.medium,
)

Components #

EHButton #

A customizable button component with multiple variants and sizes.

EHButton(
  label: 'Click Me',
  onPressed: () {},
  variant: EHButtonVariant.primary, // or secondary
  size: EHButtonSize.medium, // or small, large
  isLoading: false,
  isFullWidth: false,
)

Contributing #

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License #

This project is licensed under the MIT License - see the LICENSE file for details.

0
likes
120
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Easy Home Design Library is a reusable Flutter package that centralizes commonly used UI components, color schemes, and text styles. It enables consistent theming and visual standards across multiple apps in the Easy Home ecosystem. Built for scalability and maintainability, this library ensures design consistency, faster development, and reduced code duplication in all internal projects.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on easy_home_design_library