Last updated:
0 purchases
keiui
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
copied to clipboard
dependencies:
keiui: ^2.0.2
copied to clipboard
Run the following command in your terminal to update the dependencies:
flutter pub get
copied to clipboard
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';
copied to clipboard
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');
},
),
),
);
}
}
copied to clipboard
Components #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.