keiui 2.2.13
keiui: ^2.2.13 copied to clipboard
Personal UI for differents projects
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:
- Add the dependency in your
pubspec.yaml
file:
flutter pub add keiui
dependencies:
keiui: ^2.0.2
- 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.
-
Import the package in your Dart file:
import 'package:keiui/keiui.dart';
-
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'); }, ), ), ); } }