Last updated:
0 purchases
flutter cxui
flutter_cxui #
flutter_cxui is a flutter ui kit with material theme. It includes a lot of reusable components and styles, it can help developers quickly build high-performance, high-correctness, and high-consistency applications.
Install #
flutter pub add flutter_cxui
copied to clipboard
or
dependencies:
flutter_cxui: [version]
copied to clipboard
Jump to Flutter_cxui package.
Usage #
CxConfig is custom class.
import 'package:flutter_cxui/cxui.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: CxCard(
shadow: true,
radius: 16,
bgColor: CxConfig.primary,
hdBgColor: CxConfig.white.withAlpha(90),
titleColor: CxConfig.white,
margin: EdgeInsets.all(10),
title: "Actions",
actions: [
CxIconButton(
icon: Icons.arrow_circle_right_outlined,
color: CxConfig.white,
size: 18,
)
],
body: Text("hello"),
),
),
);
}
}
copied to clipboard
Components #
Demo #
Thanks for supporting us #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.