You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
345 B
9 lines
345 B
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
extension TextStyleExtension on TextStyle {
|
|
TextStyle get bold => this.copyWith(fontWeight: FontWeight.bold);
|
|
TextStyle size(double size) => this.copyWith(fontSize: size.w);
|
|
TextStyle color(Color color) => this.copyWith(color: color);
|
|
}
|