styles.dart
876 Bytes
import 'package:flutter/widgets.dart';
import 'package:one_key/res/colors.dart';
import 'dimens.dart';
class TextStyles {
// static TextStyle listTitle = TextStyle(
// fontSize: Dimens.font_sp16,
// color: MyColours.text_dark,
// fontWeight: FontWeight.bold,
// );
}
class Decorations {
// static Decoration bottom = BoxDecoration(
// border: Border(bottom: BorderSide(width: 0.33, color: MyColours.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 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);
}