Skip to content

Commit

Permalink
fix lint, increase flutter sdk min
Browse files Browse the repository at this point in the history
Signed-off-by: phuoc <[email protected]>
  • Loading branch information
phuocbitmark committed May 9, 2024
1 parent 682bd52 commit 25aff5b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions lib/screen/home/collection_home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import 'package:autonomy_flutter/screen/home/home_state.dart';
import 'package:autonomy_flutter/screen/interactive_postcard/postcard_detail_page.dart';
import 'package:autonomy_flutter/service/account_service.dart';
import 'package:autonomy_flutter/service/autonomy_service.dart';
import 'package:autonomy_flutter/service/canvas_client_service_v2.dart';
import 'package:autonomy_flutter/service/client_token_service.dart';
import 'package:autonomy_flutter/service/configuration_service.dart';
import 'package:autonomy_flutter/service/customer_support_service.dart';
Expand Down Expand Up @@ -78,7 +77,6 @@ class CollectionHomePageState extends State<CollectionHomePage>
final nftBloc = injector<ClientTokenService>().nftBloc;
late bool _showPostcardBanner;
final _identityBloc = injector<IdentityBloc>();
final _canvasClientServiceV2 = injector.get<CanvasClientServiceV2>();
late CanvasDeviceBloc _canvasDeviceBloc;

@override
Expand Down Expand Up @@ -508,10 +506,8 @@ class CollectionHomePageState extends State<CollectionHomePage>
switch (event) {
case FGBGType.foreground:
unawaited(_handleForeground());
break;
case FGBGType.background:
_handleBackground();
break;
}
}

Expand Down
1 change: 0 additions & 1 deletion lib/util/ui_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import 'package:feralfile_app_theme/extensions/theme_extension/moma_sans.dart';
import 'package:feralfile_app_theme/feral_file_app_theme.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:flutter_vibrate/flutter_vibrate.dart';
import 'package:jiffy/jiffy.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/view/stream_device_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class _StreamDeviceViewState extends State<StreamDeviceView> {
Future<void> scanToAddMore(BuildContext context) async {
final device = await Navigator.of(context)
.pushNamed(AppRouter.scanQRPage, arguments: ScannerItem.CANVAS_DEVICE);
log.info('device selected: ${device}');
log.info('device selected: $device');
_canvasDeviceBloc.add(CanvasDeviceGetDevicesEvent());
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 0.36.0+121

environment:
sdk: ">=2.17.0 <4.0.0"
sdk: ">=3.0.0 <4.0.0"

dependencies:
after_layout: ^1.2.0
Expand Down

0 comments on commit 25aff5b

Please sign in to comment.