E-Core

UI

UI components and widgets for E-Core

UI Components

The UI package provides pre-built, customizable widgets following E-Core's design system.

Overview

e_core_ui includes:

  • Core Widgets - Buttons, inputs, cards, and more
  • Layout Components - Responsive layout helpers
  • Feedback Widgets - Loading, error, and empty states
  • Adaptive Components - Platform-aware widgets

Installation

dependencies:
  e_core_ui: ^1.0.0

Key Components

EButton

EButton(
  label: 'Submit',
  onPressed: () => handleSubmit(),
  variant: EButtonVariant.primary,
  isLoading: isSubmitting,
)

ETextField

ETextField(
  label: 'Email',
  controller: emailController,
  validator: Validators.email,
  keyboardType: TextInputType.emailAddress,
)

ECard

ECard(
  child: Column(
    children: [
      Text('Card Title'),
      Text('Card content goes here'),
    ],
  ),
)

Learn More

On this page