tab navigation
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MainConstants {
|
||||
static const double minWebAppRatio = 9.0 / 21.0;
|
||||
static const double maxWebAppRatio = 9.0 / 18.0;
|
||||
}
|
||||
// class MainConstants {
|
||||
// static const double minWebAppRatio = 9.0 / 21.0;
|
||||
// static const double maxWebAppRatio = 9.0 / 18.0;
|
||||
// }
|
||||
|
||||
/// Utils for dynamic sizes
|
||||
class SizeUtils {
|
||||
@@ -22,7 +22,7 @@ class SizeUtils {
|
||||
// Padding of the screen where we cannot render elements without the SafeArea
|
||||
static EdgeInsets padding = const EdgeInsets.all(0);
|
||||
|
||||
static const double kWebDesiredAspectRatio = MainConstants.minWebAppRatio;
|
||||
// static const double kWebDesiredAspectRatio = MainConstants.minWebAppRatio;
|
||||
|
||||
const SizeUtils();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user