Skip to content

Commit

Permalink
refactor: rename state classes for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelaziz-mahdy committed Dec 19, 2024
1 parent e258ca2 commit e215703
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/lib/run_model_by_camera_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class RunModelByCameraDemo extends StatefulWidget {
const RunModelByCameraDemo({Key? key}) : super(key: key);

@override
_RunModelByCameraDemoState createState() => _RunModelByCameraDemoState();
RunModelByCameraDemoState createState() => RunModelByCameraDemoState();
}

class _RunModelByCameraDemoState extends State<RunModelByCameraDemo> {
class RunModelByCameraDemoState extends State<RunModelByCameraDemo> {
List<ResultObjectDetection>? results;
Duration? objectDetectionInferenceTime;

Expand Down
4 changes: 2 additions & 2 deletions example/lib/run_model_by_image_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class RunModelByImageDemo extends StatefulWidget {
const RunModelByImageDemo({Key? key}) : super(key: key);

@override
_RunModelByImageDemoState createState() => _RunModelByImageDemoState();
RunModelByImageDemoState createState() => RunModelByImageDemoState();
}

class _RunModelByImageDemoState extends State<RunModelByImageDemo> {
class RunModelByImageDemoState extends State<RunModelByImageDemo> {
ClassificationModel? _imageModel;
//CustomModel? _customModel;
late ModelObjectDetection _objectModel;
Expand Down
6 changes: 3 additions & 3 deletions example/lib/run_model_by_image_picker_camera_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ class RunModelByImagePickerCameraDemo extends StatefulWidget {
const RunModelByImagePickerCameraDemo({Key? key}) : super(key: key);

@override
_RunModelByImagePickerCameraDemoState createState() =>
_RunModelByImagePickerCameraDemoState();
RunModelByImagePickerCameraDemoState createState() =>
RunModelByImagePickerCameraDemoState();
}

class _RunModelByImagePickerCameraDemoState
class RunModelByImagePickerCameraDemoState
extends State<RunModelByImagePickerCameraDemo> {
List<ResultObjectDetection>? objectDetectionResults;
String? classificationResult;
Expand Down

0 comments on commit e215703

Please sign in to comment.