import 'package:base_app/res/dimens.dart'; import 'package:flutter/widgets.dart'; import 'package:base_app/res/colors.dart'; class TextStyles { static TextStyle listTitle = TextStyle( fontSize: Dimens.font_sp16, color: Colours.text_dark, fontWeight: FontWeight.bold, ); static TextStyle listContent = TextStyle( fontSize: Dimens.font_sp14, color: Colours.text_normal, ); static TextStyle listExtra = TextStyle( fontSize: Dimens.font_sp12, color: Colours.text_gray, ); static TextStyle listExtra2 = TextStyle( fontSize: Dimens.font_sp12, color: Colours.text_normal, ); } class Decorations { static Decoration bottom = BoxDecoration( border: Border(bottom: BorderSide(width: 0.33, color: Colours.divider))); } /// 间隔 class Gaps { /// 水平间隔 static Widget hGap5 = new SizedBox(width: Dimens.gap_dp5); static Widget hGap10 = new SizedBox(width: Dimens.gap_dp10); static Widget hGap15 = new SizedBox(width: Dimens.gap_dp15); static Widget hGap20 = new SizedBox(width: Dimens.gap_dp20); /// 垂直间隔 static Widget vGap5 = new SizedBox(height: Dimens.gap_dp5); static Widget vGap10 = new SizedBox(height: Dimens.gap_dp10); static Widget vGap15 = new SizedBox(height: Dimens.gap_dp15); static Widget vGap20 = new SizedBox(height: Dimens.gap_dp20); static Widget vGap25 = new SizedBox(height: Dimens.gap_dp25); }