Skip to content

Commit

Permalink
fix(119): swap flutter_icons with fluttericon (#129)
Browse files Browse the repository at this point in the history
Icon designs remain same except fill/outline effects.

Signed-off-by: Manjot Sidhu <manjot.techie@gmail.com>
  • Loading branch information
manjotsidhu authored Aug 16, 2021
1 parent b9398d5 commit f43c8c7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions lib/ui/views/authentication/components/auth_options_view.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:fluttericon/font_awesome5_icons.dart';
import 'package:get/get.dart';
import 'package:mobile_app/ui/views/base_view.dart';
import 'package:mobile_app/ui/views/cv_landing_view.dart';
Expand Down Expand Up @@ -97,7 +97,7 @@ class _AuthOptionsViewState extends State<AuthOptionsView> {
child: Container(
padding: const EdgeInsets.all(8),
decoration: BoxDecoration(shape: BoxShape.circle),
child: Icon(FontAwesome.github, size: 40),
child: Icon(FontAwesome5.github, size: 40),
),
),
],
Expand Down
8 changes: 4 additions & 4 deletions lib/ui/views/cv_landing_view.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:fluttericon/font_awesome5_icons.dart';
import 'package:fluttericon/font_awesome_icons.dart';
import 'package:get/get.dart';
import 'package:mobile_app/cv_theme.dart';
import 'package:mobile_app/locator.dart';
Expand Down Expand Up @@ -185,16 +186,15 @@ class _CVLandingViewState extends State<CVLandingView> {
InkWell(
onTap: onLogoutPressed,
child: CVDrawerTile(
title: 'Log Out',
iconData: Ionicons.ios_log_out),
title: 'Log Out', iconData: FontAwesome.logout),
),
],
),
)
: InkWell(
onTap: () => Get.offAndToNamed(LoginView.id),
child: CVDrawerTile(
title: 'Login', iconData: Ionicons.ios_log_in),
title: 'Login', iconData: FontAwesome.login),
)
],
),
Expand Down
14 changes: 7 additions & 7 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
flutter_icons:
dependency: "direct main"
description:
name: flutter_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
flutter_keyboard_visibility:
dependency: "direct main"
description:
Expand Down Expand Up @@ -380,6 +373,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
fluttericon:
dependency: "direct main"
description:
name: fluttericon
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
frontend_server_client:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
datetime_picker_formfield: ^2.0.0
flutter_facebook_auth: ^3.5.0
flutter_html: ^2.0.0
flutter_icons: ^1.1.0
fluttericon: ^2.0.0
flutter_keyboard_visibility: ^5.0.2
flutter_summernote: ^1.0.0
flutter_svg: ^0.22.0
Expand Down

0 comments on commit f43c8c7

Please sign in to comment.