mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 13:47:24 +00:00
fixed warnings
This commit is contained in:
5
examples/client_app/.gitignore
vendored
5
examples/client_app/.gitignore
vendored
@@ -45,3 +45,8 @@ app.*.map.json
|
|||||||
|
|
||||||
pubspec_overrides.yaml
|
pubspec_overrides.yaml
|
||||||
|
|
||||||
|
|
||||||
|
**/*.g.dart
|
||||||
|
**/*.gr.dart
|
||||||
|
**/*.freezed.dart
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class MyApp extends StatelessWidget {
|
|||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Example App',
|
title: 'Example App',
|
||||||
theme: ThemeData(primarySwatch: Colors.blue),
|
theme: ThemeData(primarySwatch: Colors.blue),
|
||||||
home: MyHomePage(),
|
home: const MyHomePage(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import 'package:cherrypick_flutter/cherrypick_flutter.dart';
|
|||||||
import 'use_case.dart';
|
import 'use_case.dart';
|
||||||
|
|
||||||
class MyHomePage extends StatelessWidget {
|
class MyHomePage extends StatelessWidget {
|
||||||
|
const MyHomePage({super.key});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
// Разрешение зависимости UseCase из рутового скоупа
|
// Разрешение зависимости UseCase из рутового скоупа
|
||||||
@@ -11,7 +13,7 @@ class MyHomePage extends StatelessWidget {
|
|||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('Example App'),
|
title: const Text('Example App'),
|
||||||
),
|
),
|
||||||
body: Center(
|
body: Center(
|
||||||
child: Text(useCase.fetchData()),
|
child: Text(useCase.fetchData()),
|
||||||
|
|||||||
@@ -28,19 +28,17 @@ packages:
|
|||||||
cherrypick:
|
cherrypick:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: cherrypick
|
path: "../../cherrypick"
|
||||||
sha256: "802427b777bc80e39216ec7070e452edd1a01eca84f824dfb57cc5e055797c4c"
|
relative: true
|
||||||
url: "https://pub.dev"
|
source: path
|
||||||
source: hosted
|
version: "2.1.0-dev.1"
|
||||||
version: "2.0.1"
|
|
||||||
cherrypick_flutter:
|
cherrypick_flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: cherrypick_flutter
|
path: "../../cherrypick_flutter"
|
||||||
sha256: "6fa2ee4ea06a8f9edfaab43e665199b378add34c52ca081f55ed82cded090257"
|
relative: true
|
||||||
url: "https://pub.dev"
|
source: path
|
||||||
source: hosted
|
version: "1.1.1-dev.1"
|
||||||
version: "1.1.0"
|
|
||||||
clock:
|
clock:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
Reference in New Issue
Block a user