app/lib/utils/utils.dart

43 lines
950 B
Dart
Raw Normal View History

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;
}
}
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(
color: Colors.white54,
fontFamily: 'OpenSans',
);
2022-05-10 02:21:09 +02:00
const kLabelStyle = TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontFamily: 'OpenSans',
);
final kBoxDecorationStyle = BoxDecoration(
2022-04-30 19:41:07 +02:00
color: const Color(0xff1b1c1e),
borderRadius: BorderRadius.circular(10.0),
2022-05-10 02:21:09 +02:00
boxShadow: const [
BoxShadow(
color: Colors.black12,
blurRadius: 6.0,
offset: Offset(0, 2),
),
],
);