| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- import 'package:flutter/material.dart';
- class Styles {
- Styles._();
- static Decoration getActivateButtonDecoration(double radius) {
- return ShapeDecoration(
- gradient: LinearGradient(
- begin: Alignment(0.04, 0.21),
- end: Alignment(0.98, 0.76),
- colors: [const Color(0xFF7D46FC), const Color(0xFFBC87FF)],
- ),
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(radius),
- ),
- );
- }
- static Decoration getInactiveButtonDecoration(double radius) {
- return ShapeDecoration(
- color: const Color(0xFF7D46FC).withAlpha(100),
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(radius),
- ),
- );
- }
- static TextStyle getTextStyleBlack204W400(double? sp) {
- return TextStyle(
- color: Colors.black.withAlpha(204),
- fontSize: sp,
- fontWeight: FontWeight.w400,
- );
- }
- static TextStyle getTextStyleBlack204W500(double? sp) {
- return TextStyle(
- color: Colors.black.withAlpha(204),
- fontSize: sp,
- fontWeight: FontWeight.w500,
- );
- }
- static TextStyle getTextStyleBlack153W400(double? sp) {
- return TextStyle(
- color: Colors.black.withAlpha(153),
- fontSize: sp,
- fontWeight: FontWeight.w400,
- );
- }
- static TextStyle getTextStyleBlack102W500(double? sp) {
- return TextStyle(
- color: Colors.black.withAlpha(102),
- fontSize: sp,
- fontWeight: FontWeight.w500,
- );
- }
- static TextStyle getTextStyleWhiteW500(double? sp) {
- return TextStyle(
- color: Colors.white,
- fontSize: sp,
- fontWeight: FontWeight.w500,
- );
- }
- static TextStyle getTextStyleWhiteW400(double? sp) {
- return TextStyle(
- color: Colors.white,
- fontSize: sp,
- fontWeight: FontWeight.w400,
- );
- }
- static TextStyle getTextStyleFF663300W700(double? sp) {
- return TextStyle(
- color: const Color(0xFF663300),
- fontSize: sp,
- fontWeight: FontWeight.w700,
- );
- }
- static TextStyle getTextStyleFF663300W500(double? sp) {
- return TextStyle(
- color: const Color(0xFF663300),
- fontSize: sp,
- fontWeight: FontWeight.w500,
- );
- }
- static TextStyle getTextStyleFF663300W400(double? sp) {
- return TextStyle(
- color: const Color(0xFF663300),
- fontSize: sp,
- fontWeight: FontWeight.w400,
- );
- }
- static TextStyle getTextStyle99673300W400(double? sp) {
- return TextStyle(
- color: const Color(0x99673300),
- fontSize: sp,
- fontWeight: FontWeight.w400,
- );
- }
- static TextStyle getTextStyleFFECBBW500(double? sp) {
- return TextStyle(
- color: const Color(0xFFFFECBB),
- fontSize: sp,
- fontWeight: FontWeight.w500,
- );
- }
- static TextStyle getTextStyleFF7F14W500(double? sp) {
- return TextStyle(
- color: const Color(0xFFFF7F14),
- fontSize: sp,
- fontWeight: FontWeight.w500,
- );
- }
- }
|