flutter_cxui 1.0.2
flutter_cxui: ^1.0.2 copied to clipboard
Flutter_cui is a UI toolkit based on the Flutter framework. It provides a rich variety of reusable components and styles, helping developers quickly build cross-platform applications with high perform [...]
Example #
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"),
),
),
);
}
}