KeiUI

keiui is a Flutter package that provides a collection of customizable user interface components. It is designed to simplify the creation of elegant and functional user interfaces.

Installation

To install keiui in your Flutter project, follow these steps:

  1. Add the dependency in your pubspec.yaml file:
flutter pub add keiui
dependencies:
  keiui: ^2.0.2
  1. Run the following command in your terminal to update the dependencies:
flutter pub get

Usage

Here is a basic example of how to use keiui in your Flutter application.

  1. Import the package in your Dart file:

    import 'package:keiui/keiui.dart';
    
  2. Use keiui components in your widget:

    import 'package:flutter/material.dart';
    import 'package:keiui/keiui.dart';
    
    void main() {
      runApp(MyApp());
    }
    
    class MyApp extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
        return MaterialApp(
          title: 'keiui Demo',
          theme: ThemeData(
            primarySwatch: Colors.blue,
          ),
          home: HomePage(),
        );
      }
    }
    
    class HomePage extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
        return Scaffold(
          appBar: AppBar(
            title: Text('keiui Demo'),
          ),
          body: Center(
            child: PrimaryButton(
              text: 'Press Me',
              onPressed: () {
                print('Button pressed');
              },
            ),
          ),
        );
      }
    }
    

Components