Skip to content

Commit 9d9d3e4

Browse files
committed
Enable flet_datatable2 extension and update dependencies
Uncommented and enabled flet_datatable2 in main.dart and pubspec.yaml, switching its git ref to 'main'. Updated several other Flet package refs from 'v1' to 'main' and bumped various dependency versions in pubspec.lock for compatibility with Dart >=3.8.0.
1 parent 61d0f51 commit 9d9d3e4

File tree

3 files changed

+153
-104
lines changed

3 files changed

+153
-104
lines changed

client/lib/main.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'package:flet_audio/flet_audio.dart' as flet_audio;
66
import 'package:flet_audio_recorder/flet_audio_recorder.dart'
77
as flet_audio_recorder;
88
import 'package:flet_charts/flet_charts.dart' as flet_charts;
9-
//import 'package:flet_datatable2/flet_datatable2.dart' as flet_datatable2;
9+
import 'package:flet_datatable2/flet_datatable2.dart' as flet_datatable2;
1010
import "package:flet_flashlight/flet_flashlight.dart" as flet_flashlight;
1111
import 'package:flet_geolocator/flet_geolocator.dart' as flet_geolocator;
1212
import 'package:flet_lottie/flet_lottie.dart' as flet_lottie;
@@ -27,10 +27,10 @@ const bool isProduction = bool.fromEnvironment('dart.vm.product');
2727
Tester? tester;
2828

2929
void main([List<String>? args]) async {
30-
// if (isProduction) {
31-
// // ignore: avoid_returning_null_for_void
32-
// debugPrint = (String? message, {int? wrapWidth}) => null;
33-
// }
30+
if (isProduction) {
31+
// ignore: avoid_returning_null_for_void
32+
debugPrint = (String? message, {int? wrapWidth}) => null;
33+
}
3434

3535
await setupDesktop();
3636

@@ -45,7 +45,7 @@ void main([List<String>? args]) async {
4545
flet_rive.Extension(),
4646
flet_webview.Extension(),
4747
flet_flashlight.Extension(),
48-
//flet_datatable2.Extension(),
48+
flet_datatable2.Extension(),
4949
flet_charts.Extension(),
5050
];
5151

0 commit comments

Comments
 (0)