2022-04-27 12:28:20 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
2022-05-13 06:11:14 +02:00
|
|
|
const kMobileBreakpoint = 576;
|
|
|
|
const kTabletBreakpoint = 1024;
|
|
|
|
const kDesktopBreakPoint = 1366;
|
|
|
|
|
2022-04-27 12:28:20 +02:00
|
|
|
class HideScrollGlow extends ScrollBehavior {
|
|
|
|
@override
|
|
|
|
Widget buildOverscrollIndicator(
|
|
|
|
BuildContext context, Widget child, ScrollableDetails details) {
|
|
|
|
return child;
|
|
|
|
}
|
2022-04-30 19:04:01 +02:00
|
|
|
}
|
|
|
|
|
2022-05-13 06:31:37 +02:00
|
|
|
const Color primaryColor = Color(0xFFF67952);
|
|
|
|
const Color bgColor = Color(0xFFFBFBFD);
|
|
|
|
|
|
|
|
const double defaultPadding = 16.0;
|
|
|
|
const double defaultBorderRadius = 12.0;
|
|
|
|
|
2022-05-10 02:21:09 +02:00
|
|
|
const kHintTextStyle = TextStyle(
|
2022-04-30 19:04:01 +02:00
|
|
|
color: Colors.white54,
|
|
|
|
fontFamily: 'OpenSans',
|
|
|
|
);
|
|
|
|
|
2022-05-10 02:21:09 +02:00
|
|
|
const kLabelStyle = TextStyle(
|
2022-04-30 19:04:01 +02:00
|
|
|
color: Colors.white,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontFamily: 'OpenSans',
|
|
|
|
);
|
|
|
|
|
|
|
|
final kBoxDecorationStyle = BoxDecoration(
|
2022-04-30 19:41:07 +02:00
|
|
|
color: const Color(0xff1b1c1e),
|
2022-04-30 19:04:01 +02:00
|
|
|
borderRadius: BorderRadius.circular(10.0),
|
2022-05-10 02:21:09 +02:00
|
|
|
boxShadow: const [
|
2022-04-30 19:04:01 +02:00
|
|
|
BoxShadow(
|
|
|
|
color: Colors.black12,
|
|
|
|
blurRadius: 6.0,
|
|
|
|
offset: Offset(0, 2),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
);
|