mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-14 01:37:07 -07:00
chore: Move to different iconsax library (#301)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
5b3d5b8900
commit
5578076fdb
71 changed files with 349 additions and 346 deletions
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:iconsax_plus/iconsax_plus.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'package:fladder/models/account_model.dart';
|
||||
|
|
@ -107,7 +107,7 @@ class _LockScreenState extends ConsumerState<LockScreen> with WidgetsBindingObse
|
|||
ref.read(lockScreenActiveProvider.notifier).update((state) => false);
|
||||
context.router.push(const LoginRoute());
|
||||
},
|
||||
child: const Icon(IconsaxOutline.arrow_swap_horizontal),
|
||||
child: const Icon(IconsaxPlusLinear.arrow_swap_horizontal),
|
||||
),
|
||||
body: Center(
|
||||
child: Wrap(
|
||||
|
|
@ -117,7 +117,7 @@ class _LockScreenState extends ConsumerState<LockScreen> with WidgetsBindingObse
|
|||
direction: Axis.vertical,
|
||||
children: [
|
||||
const Icon(
|
||||
IconsaxOutline.lock_1,
|
||||
IconsaxPlusLinear.lock_1,
|
||||
size: 38,
|
||||
),
|
||||
if (user != null)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:iconsax_plus/iconsax_plus.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ class LoginEditUser extends ConsumerWidget {
|
|||
),
|
||||
Row(
|
||||
children: [
|
||||
const Icon(IconsaxBold.clock),
|
||||
const Icon(IconsaxPlusBold.clock),
|
||||
const SizedBox(width: 8),
|
||||
Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import 'dart:async';
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:iconsax_plus/iconsax_plus.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'package:fladder/models/account_model.dart';
|
||||
|
|
@ -90,12 +90,12 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
if (!AdaptiveLayout.of(context).isDesktop)
|
||||
FloatingActionButton(
|
||||
key: const Key("edit_button"),
|
||||
child: const Icon(IconsaxOutline.edit_2),
|
||||
child: const Icon(IconsaxPlusLinear.edit_2),
|
||||
onPressed: () => setState(() => editingUsers = !editingUsers),
|
||||
),
|
||||
FloatingActionButton(
|
||||
key: const Key("new_button"),
|
||||
child: const Icon(IconsaxOutline.add_square),
|
||||
child: const Icon(IconsaxPlusLinear.add_square),
|
||||
onPressed: startAddingNewUser,
|
||||
),
|
||||
].addInBetween(const SizedBox(width: 16)),
|
||||
|
|
@ -287,7 +287,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
ref.read(authProvider.notifier).setServer("");
|
||||
},
|
||||
icon: const Icon(
|
||||
IconsaxOutline.arrow_left_2,
|
||||
IconsaxPlusLinear.arrow_left_2,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
@ -315,7 +315,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
child: IconButton.filled(
|
||||
onPressed: () => retrieveListOfUsers(),
|
||||
icon: const Icon(
|
||||
IconsaxOutline.refresh,
|
||||
IconsaxPlusLinear.refresh,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
@ -381,7 +381,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
children: [
|
||||
Text(context.localized.login),
|
||||
const SizedBox(width: 8),
|
||||
const Icon(IconsaxBold.send_1),
|
||||
const Icon(IconsaxPlusBold.send_1),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:iconsax_plus/iconsax_plus.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:reorderable_grid/reorderable_grid.dart';
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ class LoginUserGrid extends ConsumerWidget {
|
|||
mainAxisSize: MainAxisSize.max,
|
||||
children: [
|
||||
const Icon(
|
||||
IconsaxBold.driver_2,
|
||||
IconsaxPlusBold.driver_2,
|
||||
size: 14,
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
|
|
@ -107,7 +107,7 @@ class LoginUserGrid extends ConsumerWidget {
|
|||
child: const Padding(
|
||||
padding: EdgeInsets.all(8.0),
|
||||
child: Icon(
|
||||
IconsaxBold.edit_2,
|
||||
IconsaxPlusBold.edit_2,
|
||||
size: 14,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:iconsax_plus/iconsax_plus.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'package:fladder/models/credentials_model.dart';
|
||||
|
|
@ -46,7 +46,7 @@ class DiscoverServersWidget extends ConsumerWidget {
|
|||
style: context.textTheme.bodyLarge,
|
||||
),
|
||||
const Spacer(),
|
||||
const Opacity(opacity: 0.65, child: Icon(IconsaxOutline.bookmark, size: 16)),
|
||||
const Opacity(opacity: 0.65, child: Icon(IconsaxPlusLinear.bookmark, size: 16)),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
|
|
@ -69,7 +69,7 @@ class DiscoverServersWidget extends ConsumerWidget {
|
|||
style: context.textTheme.bodyLarge,
|
||||
),
|
||||
const Spacer(),
|
||||
const Opacity(opacity: 0.65, child: Icon(IconsaxBold.airdrop, size: 16)),
|
||||
const Opacity(opacity: 0.65, child: Icon(IconsaxPlusBold.airdrop, size: 16)),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
|
|
@ -135,7 +135,7 @@ class _ServerInfoCard extends StatelessWidget {
|
|||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Icon(
|
||||
IconsaxBold.driver,
|
||||
IconsaxPlusBold.driver,
|
||||
color: Theme.of(context).colorScheme.onPrimaryContainer,
|
||||
),
|
||||
),
|
||||
|
|
@ -158,7 +158,7 @@ class _ServerInfoCard extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
const Icon(IconsaxOutline.edit_2, size: 16)
|
||||
const Icon(IconsaxPlusLinear.edit_2, size: 16)
|
||||
].addInBetween(const SizedBox(width: 12)),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue