tx_design 0.0.1 copy "tx_design: ^0.0.1" to clipboard
tx_design: ^0.0.1 copied to clipboard

retractedoutdated

A custom component library that contains some basic UI components and provides theme configuration.

This is a custom component package, which also includes some theme extension and type extension.

Features #

Add this to your Flutter app to:

  1. Use more customized widgets and support global and local theme configurations.
  2. Some custom theme extensions are provided, such as color, spacing, round corner, shadow, etc.
  3. Some type extensions are provided.

Installing #

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_easyloading: ^latest

Import #

import 'package:tx_design/tx_design.dart';

Usage #

Use widget and set widget's theme:

const TxCellTheme(
  data: TxCellThemeData(),
  child: TxCell(labelText: 'labelText', contentText: 'contentText'),
);

Add themeExtension to your themeData:

ThemeData(
    extensions: [
      RadiusThemeData(),
    ]
);

Use type extension:

fianl String formattedTime = DateTime.now().format('yyyy-MM-dd HH:mm');
2
likes
0
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A custom component library that contains some basic UI components and provides theme configuration.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, photo_view, signature, value_layout_builder

More

Packages that depend on tx_design