app_ui 1.1.7 copy "app_ui: ^1.1.7" to clipboard
app_ui: ^1.1.7 copied to clipboard

A collection of reusable UI components and widgets for Flutter applications.

example/app_ui_example.dart

import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';

void main() {}

void showDialogTest(BuildContext context) {
  showDialog(
    context: context,
    builder: (context) => AppCupertinoCustomConfirmDialog(
      content: 'Are you sure to switch the language?',
      leftText: 'Cancel',
      rightText: 'Confirm',
      onLeftTap: () {},
      onRightTap: () {},
      // 下面这些参数都可以自定义
      backgroundColor: Color(0xFF6C5A89),
      borderRadius: 16,
      leftTextStyle: TextStyle(color: Colors.white70, fontSize: 16),
      rightTextStyle: TextStyle(
        color: Color(0xFFFF5DF6),
        fontWeight: FontWeight.bold,
        fontSize: 16,
      ),
    ),
  );
}
0
likes
150
points
182
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of reusable UI components and widgets for Flutter applications.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

auto_size_text_plus, extended_tabs, flutter

More

Packages that depend on app_ui