feat: update default dimensions for DashbotWindowModel

This commit is contained in:
Udhay-Adithya
2025-09-08 16:13:38 +05:30
parent 1e4f78be72
commit 6b4c0421f8
2 changed files with 3 additions and 3 deletions

View File

@@ -7,8 +7,8 @@ class DashbotWindowModel {
final bool isPopped;
const DashbotWindowModel({
this.width = 375,
this.height = 460,
this.width = 400,
this.height = 475,
this.right = 50,
this.bottom = 100,
this.isActive = false,

View File

@@ -14,7 +14,7 @@ class DashbotWindowNotifier extends StateNotifier<DashbotWindowModel> {
void updateSize(double dx, double dy, Size screenSize) {
final newWidth =
(state.width - dx).clamp(375, screenSize.width - state.right);
(state.width - dx).clamp(400, screenSize.width - state.right);
final newHeight =
(state.height - dy).clamp(460, screenSize.height - state.bottom);