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

or

dependencies:
  flutter_cxui: [version]

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"),
        ),
      ),
    );
  }
}

Components

home place_grid
icon_button select_button_list
image_card card
title_nav slider

Demo

Movie Home Movie Item

Thanks for supporting us

赞赏支持