t_flutter_ui 1.0.24
t_flutter_ui: ^1.0.24 copied to clipboard
t_flutter_ui: A Flutter UI package for building beautiful and customizable UIs. (using flutter, flutter_spinkit, get, google_fonts, loader_overlay)
Introduction #
Custom UI for flutter mobile & web
Widgets #
- TApp
- TPage
- TRoute
- TNavigationBar
- TNavigationBarItem
- TButton
- TAppBar
- TInput
Usage #
return TApp(
title: 'T Flutter UI Example',
routes: []
);
return TPage(
saftTop: true,
saftBottom: true,
appBar: TAppBar(),
navigationBar: TNavigationBar(
items: [
TNavigationBarItemStyle1(
icon: Icons.home,
label: 'Home',
selectedColor: Colors.red,
isSelected: true,
onTap: () {},
),
TNavigationBarItemStyle2(
icon: Icons.search,
label: 'Search',
isSelected: false,
onTap: () {},
),
]
)
body: Column(
children: [
Expanded(
child: ListView(
children: [TButton(text: "ยินดีต้อนรับ", onPressed: () {})],
),
),
]
);
);
return TNavigationBar(
items: [
TNavigationBarItemStyle1(),
]
);
final route = TRoute(name: "", page: () => TPage());