Skip to content

Commit 8b886dc

Browse files
committed
Merge remote-tracking branch 'origin/main' into owen/v1-integration-tests
2 parents 3685a9a + cbdae3a commit 8b886dc

472 files changed

Lines changed: 5010 additions & 2427 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

client/pubspec.lock

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ packages:
2929
dependency: transitive
3030
description:
3131
name: audioplayers
32-
sha256: e653f162ddfcec1da2040ba2d8553fff1662b5c2a5c636f4c21a3b11bee497de
32+
sha256: "5441fa0ceb8807a5ad701199806510e56afde2b4913d9d17c2f19f2902cf0ae4"
3333
url: "https://pub.dev"
3434
source: hosted
35-
version: "6.5.0"
35+
version: "6.5.1"
3636
audioplayers_android:
3737
dependency: transitive
3838
description:
@@ -245,10 +245,10 @@ packages:
245245
dependency: transitive
246246
description:
247247
name: file_picker
248-
sha256: ef7d2a085c1b1d69d17b6842d0734aad90156de08df6bd3c12496d0bd6ddf8e2
248+
sha256: e7e16c9d15c36330b94ca0e2ad8cb61f93cd5282d0158c09805aed13b5452f22
249249
url: "https://pub.dev"
250250
source: hosted
251-
version: "10.3.1"
251+
version: "10.3.2"
252252
fixnum:
253253
dependency: transitive
254254
description:
@@ -277,7 +277,7 @@ packages:
277277
description:
278278
path: "src/flutter/flet_ads"
279279
ref: main
280-
resolved-ref: e847a431388733d6bcd81748c617a3b962c5efa9
280+
resolved-ref: aa05773138be06e69353e2a223bd23c51b36dd3f
281281
url: "https://github.com/flet-dev/flet-ads.git"
282282
source: git
283283
version: "0.2.0"
@@ -286,7 +286,7 @@ packages:
286286
description:
287287
path: "src/flutter/flet_audio"
288288
ref: main
289-
resolved-ref: "5611fa1ef47c2faeeb6317671932cfd3ee2888c3"
289+
resolved-ref: "06fb901f133fab54e603f8039bc9a1d707d19068"
290290
url: "https://github.com/flet-dev/flet-audio.git"
291291
source: git
292292
version: "0.2.0"
@@ -295,7 +295,7 @@ packages:
295295
description:
296296
path: "src/flutter/flet_audio_recorder"
297297
ref: main
298-
resolved-ref: "10c9108060410c3c4e2435311c8e4ee70daf24bf"
298+
resolved-ref: "62a1934a34514e92617f4e090b53828474f5969e"
299299
url: "https://github.com/flet-dev/flet-audio-recorder.git"
300300
source: git
301301
version: "0.2.0"
@@ -313,7 +313,7 @@ packages:
313313
description:
314314
path: "src/flutter/flet_datatable2"
315315
ref: main
316-
resolved-ref: ebd7adc75486b276df382ae6401037c45a6df2a3
316+
resolved-ref: bf6af9c7a9c1962c36512ff5ab48eec9f14ef81a
317317
url: "https://github.com/flet-dev/flet-datatable2.git"
318318
source: git
319319
version: "0.1.0"
@@ -322,7 +322,7 @@ packages:
322322
description:
323323
path: "src/flutter/flet_flashlight"
324324
ref: main
325-
resolved-ref: "88fb80a6b4032956282a4be9c60f3c25f3cfccb5"
325+
resolved-ref: def30504c3ed6786dc2a1fdb4f18b226a284a7d2
326326
url: "https://github.com/flet-dev/flet-flashlight.git"
327327
source: git
328328
version: "0.2.0"
@@ -331,7 +331,7 @@ packages:
331331
description:
332332
path: "src/flutter/flet_geolocator"
333333
ref: main
334-
resolved-ref: "94ed74df1a8b791d0afaccc2f9caac3456698f78"
334+
resolved-ref: "25efd0a9d15f23bf284912814a131388f8de9ec4"
335335
url: "https://github.com/flet-dev/flet-geolocator.git"
336336
source: git
337337
version: "0.25.2"
@@ -340,7 +340,7 @@ packages:
340340
description:
341341
path: "src/flutter/flet_lottie"
342342
ref: main
343-
resolved-ref: "86eaa0b59f3cc54f9b2fb57abce9c0d22de253ca"
343+
resolved-ref: "5187fcf6bcb37f4bfa59cad127f6444d40cdb48c"
344344
url: "https://github.com/flet-dev/flet-lottie.git"
345345
source: git
346346
version: "0.2.0"
@@ -349,7 +349,7 @@ packages:
349349
description:
350350
path: "src/flutter/flet_map"
351351
ref: main
352-
resolved-ref: "8507cda6616f555974fbdcd3df05c3f2b02c043f"
352+
resolved-ref: d79ebf24ebad208a543b73a7f7511cd4da1d7ea9
353353
url: "https://github.com/flet-dev/flet-map.git"
354354
source: git
355355
version: "0.2.0"
@@ -358,7 +358,7 @@ packages:
358358
description:
359359
path: "src/flutter/flet_permission_handler"
360360
ref: main
361-
resolved-ref: "2a56423dd77d220a0067f4097f9e25659b2f9b36"
361+
resolved-ref: dbd04f183b8452a5247f2807007cc40a2381a172
362362
url: "https://github.com/flet-dev/flet-permission-handler.git"
363363
source: git
364364
version: "0.2.0"
@@ -367,7 +367,7 @@ packages:
367367
description:
368368
path: "src/flutter/flet_rive"
369369
ref: main
370-
resolved-ref: "67256e81ec7c906ae03790b0c180c9be018ed7a4"
370+
resolved-ref: "6d78b068940afa5126fc38374ea326e710d43862"
371371
url: "https://github.com/flet-dev/flet-rive.git"
372372
source: git
373373
version: "0.2.0"
@@ -376,7 +376,7 @@ packages:
376376
description:
377377
path: "src/flutter/flet_video"
378378
ref: main
379-
resolved-ref: a086b89d74f96e052a450d6c2a50c812a035ce45
379+
resolved-ref: abeea4e9a3a2864299743726b26d5a245a4389d6
380380
url: "https://github.com/flet-dev/flet-video.git"
381381
source: git
382382
version: "0.2.0"
@@ -385,7 +385,7 @@ packages:
385385
description:
386386
path: "src/flutter/flet_webview"
387387
ref: main
388-
resolved-ref: "9e2b64171f81cbe72a8a61ee9ba9d2af69587837"
388+
resolved-ref: cb3d07bfb84ae1b51be25388ca04c03a9dafd7f3
389389
url: "https://github.com/flet-dev/flet-webview.git"
390390
source: git
391391
version: "0.2.0"
@@ -1028,18 +1028,18 @@ packages:
10281028
dependency: transitive
10291029
description:
10301030
name: record_android
1031-
sha256: "8b170e33d9866f9b51e01a767d7e1ecb97b9ecd629950bd87a47c79359ec57f8"
1031+
sha256: "8361a791c9a3fa5c065f0b8b5adb10f12531f8538c86b19474cf7b56ea80d426"
10321032
url: "https://pub.dev"
10331033
source: hosted
1034-
version: "1.4.0"
1034+
version: "1.4.1"
10351035
record_ios:
10361036
dependency: transitive
10371037
description:
10381038
name: record_ios
1039-
sha256: ad97d0a75933c44bcf5aff648e86e32fc05eb61f8fbef190f14968c8eaf86692
1039+
sha256: "13e241ed9cbc220534a40ae6b66222e21288db364d96dd66fb762ebd3cb77c71"
10401040
url: "https://pub.dev"
10411041
source: hosted
1042-
version: "1.1.0"
1042+
version: "1.1.2"
10431043
record_linux:
10441044
dependency: transitive
10451045
description:
@@ -1052,10 +1052,10 @@ packages:
10521052
dependency: transitive
10531053
description:
10541054
name: record_macos
1055-
sha256: f1399bca76a1634da109e5b0cba764ed8332a2b4da49c704c66d2c553405ed81
1055+
sha256: "2849068bb59072f300ad63ed146e543d66afaef8263edba4de4834fc7c8d4d35"
10561056
url: "https://pub.dev"
10571057
source: hosted
1058-
version: "1.1.0"
1058+
version: "1.1.1"
10591059
record_platform_interface:
10601060
dependency: transitive
10611061
description:
@@ -1076,10 +1076,10 @@ packages:
10761076
dependency: transitive
10771077
description:
10781078
name: record_windows
1079-
sha256: "85a22fc97f6d73ecd67c8ba5f2f472b74ef1d906f795b7970f771a0914167e99"
1079+
sha256: "223258060a1d25c62bae18282c16783f28581ec19401d17e56b5205b9f039d78"
10801080
url: "https://pub.dev"
10811081
source: hosted
1082-
version: "1.0.6"
1082+
version: "1.0.7"
10831083
rive:
10841084
dependency: transitive
10851085
description:
@@ -1108,10 +1108,10 @@ packages:
11081108
dependency: transitive
11091109
description:
11101110
name: screen_brightness_android
1111-
sha256: fb5fa43cb89d0c9b8534556c427db1e97e46594ac5d66ebdcf16063b773d54ed
1111+
sha256: d34f5321abd03bc3474f4c381f53d189117eba0b039eac1916aa92cca5fd0a96
11121112
url: "https://pub.dev"
11131113
source: hosted
1114-
version: "2.1.2"
1114+
version: "2.1.3"
11151115
screen_brightness_platform_interface:
11161116
dependency: transitive
11171117
description:

packages/flet/lib/src/controls/alert_dialog.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ class _AlertDialogControlState extends State<AlertDialogControl> {
7575
iconPadding: widget.control.getPadding("icon_padding"),
7676
backgroundColor: widget.control.getColor("bgcolor", context),
7777
buttonPadding: widget.control.getPadding("action_button_padding"),
78-
surfaceTintColor:
79-
widget.control.getColor("surface_tint_color", context),
8078
shadowColor: widget.control.getColor("shadow_color", context),
8179
elevation: widget.control.getDouble("elevation"),
8280
clipBehavior:

packages/flet/lib/src/controls/animated_switcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ class AnimatedSwitcherControl extends StatelessWidget {
4747
},
4848
child: content,
4949
);
50-
return ConstrainedControl(control: control, child: animatedSwitcher);
50+
return LayoutControl(control: control, child: animatedSwitcher);
5151
}
5252
}

packages/flet/lib/src/controls/app_bar.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class AppBarControl extends StatelessWidget implements PreferredSizeWidget {
3636
.extension<SystemUiOverlayStyleTheme>()
3737
?.systemUiOverlayStyle,
3838
shadowColor: control.getColor("shadow_color", context),
39-
surfaceTintColor: control.getColor("surface_tint_color", context),
4039
scrolledUnderElevation: control.getDouble("elevation_on_scroll"),
4140
forceMaterialTransparency:
4241
control.getBool("force_material_transparency", false)!,

packages/flet/lib/src/controls/banner.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class _BannerControlState extends State<BannerControl> {
5252
backgroundColor: widget.control.getColor("bgcolor", context),
5353
contentTextStyle:
5454
widget.control.getTextStyle("content_text_style", Theme.of(context)),
55-
surfaceTintColor: widget.control.getColor("surface_tint_color", context),
5655
shadowColor: widget.control.getColor("shadow_color", context),
5756
dividerColor: widget.control.getColor("divider_color", context),
5857
elevation: widget.control.getDouble("elevation"),

packages/flet/lib/src/controls/base_controls.dart

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,20 @@ class BaseControl extends StatelessWidget {
2929
}
3030
}
3131

32-
class ConstrainedControl extends StatelessWidget {
32+
// TODO - remove when extensions migrated to LayoutControl
33+
class ConstrainedControl extends LayoutControl {
34+
const ConstrainedControl({
35+
super.key,
36+
required super.control,
37+
required super.child,
38+
});
39+
}
40+
41+
class LayoutControl extends StatelessWidget {
3342
final Control control;
3443
final Widget child;
3544

36-
const ConstrainedControl({
45+
const LayoutControl({
3746
super.key,
3847
required this.control,
3948
required this.child,

packages/flet/lib/src/controls/bottom_app_bar.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ class BottomAppBarControl extends StatelessWidget {
1717
elevation: control.getDouble("elevation"),
1818
shape: control.getNotchedShape("shape", Theme.of(context)),
1919
shadowColor: control.getColor("shadow_color", context),
20-
surfaceTintColor: control.getColor("surface_tint_color", context),
2120
color: control.getColor("bgcolor", context),
2221
notchMargin: control.getDouble("notch_margin", 4.0)!,
2322
child: control.buildWidget("content"),
2423
);
2524

26-
return ConstrainedControl(control: control, child: bottomAppBar);
25+
return LayoutControl(control: control, child: bottomAppBar);
2726
}
2827
}

packages/flet/lib/src/controls/button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,6 @@ class _ButtonControlState extends State<ButtonControl> with FletStoreMixin {
218218
}
219219
}
220220

221-
return ConstrainedControl(control: widget.control, child: button);
221+
return LayoutControl(control: widget.control, child: button);
222222
}
223223
}

packages/flet/lib/src/controls/canvas.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class _CanvasControlState extends State<CanvasControl> {
167167
child: widget.control.buildWidget("content"),
168168
);
169169

170-
return ConstrainedControl(control: widget.control, child: paint);
170+
return LayoutControl(control: widget.control, child: paint);
171171
}
172172
}
173173

packages/flet/lib/src/controls/card.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class CardControl extends StatelessWidget {
3636
control.getBool("show_border_on_foreground", true)!;
3737
var bgcolor = control.getColor("bgcolor", context);
3838
var shadowColor = control.getColor("shadow_color", context);
39-
var surfaceTintColor = control.getColor("surface_tint_color", context);
4039

4140
Widget? card;
4241

@@ -53,7 +52,6 @@ class CardControl extends StatelessWidget {
5352
clipBehavior: clipBehavior,
5453
color: bgcolor,
5554
shadowColor: shadowColor,
56-
surfaceTintColor: surfaceTintColor,
5755
child: contentWidget);
5856
} else if (variant == CardVariant.filled) {
5957
card = Card.filled(
@@ -65,7 +63,6 @@ class CardControl extends StatelessWidget {
6563
clipBehavior: clipBehavior,
6664
color: bgcolor,
6765
shadowColor: shadowColor,
68-
surfaceTintColor: surfaceTintColor,
6966
child: contentWidget);
7067
} else {
7168
card = Card(
@@ -77,10 +74,9 @@ class CardControl extends StatelessWidget {
7774
clipBehavior: clipBehavior,
7875
color: bgcolor,
7976
shadowColor: shadowColor,
80-
surfaceTintColor: surfaceTintColor,
8177
child: contentWidget);
8278
}
8379

84-
return ConstrainedControl(control: control, child: card);
80+
return LayoutControl(control: control, child: card);
8581
}
8682
}

0 commit comments

Comments
 (0)