kh_easy_dev 0.2.1 kh_easy_dev: ^0.2.1 copied to clipboard
package to all kh easy dev application.
write kheasydev before all the widgets
Features #
a lot of widgets to kheasydev applications
Getting started #
import 'package:kh_easy_dev/kh_easy_dev.dart';
Usage #
/screens
/models
/widgets
Side Menu Example #
appSideMenu(BuildContext context, {required int index}) {
return KheasydevSideMenu(
selectedIndex: index,
shadowColor: AppColor.primaryColor,
disableColor: AppColor.disableColor,
appName: 'App Name',
sidebarItems: [
SideBarModel(
icon: Icons.home,
label: "page name 1",
onTap: () {
KheasydevNavigatePage().push(context, HomePage());
}),
SideBarModel(
icon: Icons.check_box,
label: "Page Name 2",
onTap: () {
KheasydevNavigatePage().push(context, TestPage());
}),
// SideBarModel(icon: Icons.abc, label: "label", onTap: () {})
],
buttomBackground: AppColor.buttomBackground,
appBar: appAppBar(title: 'יצירת קשר'),
);
}
Additional information #
just to kh easy dev applications.