diff --git a/lib/ansu_ui.dart b/lib/ansu_ui.dart index 9e29dcb..ac0c380 100644 --- a/lib/ansu_ui.dart +++ b/lib/ansu_ui.dart @@ -4,13 +4,19 @@ export 'buttons/as_button.dart'; export 'buttons/as_longbutton.dart'; export 'buttons/as_back_button.dart'; export 'buttons/as_numeric_button.dart'; +export 'buttons/as_bottom_button.dart'; +export 'buttons/as_gradientbutton.dart'; + export 'scaffold/as_scaffold.dart'; + export 'styles/as_colors.dart'; export 'bar/as_tabbar.dart'; export 'drawer/as_drawer.dart'; export 'pickers/as_date_picker.dart'; export 'pickers/as_picker_box.dart'; export 'dialog/as_dialog.dart'; +export 'divider/as_divider.dart'; +export 'tag/as_tag.dart'; export 'utils/screen_adapter.dart'; diff --git a/lib/divider/as_divider.dart b/lib/divider/as_divider.dart index 686c2c8..eb30c6a 100644 --- a/lib/divider/as_divider.dart +++ b/lib/divider/as_divider.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; +///安速水平分割线 class ASDivider extends StatelessWidget { final Color color; final double height; @@ -22,3 +23,26 @@ class ASDivider extends StatelessWidget { ); } } + +///安速 垂直分割线 +class ASVDivider extends StatelessWidget { + final Color color; + final double height; + final double indent; + final double endIndent; + ASVDivider({Key key, this.indent, this.endIndent}) + : color = const Color(0xFFE9E9E9), + height = 1.w, + super(key: key); + + @override + Widget build(BuildContext context) { + return Divider( + color: color, + height: height, + thickness: height, + indent: indent, + endIndent: endIndent, + ); + } +}