Skip to content

Commit

Permalink
chore: update dependencies and fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev committed Jul 6, 2023
1 parent 11840a7 commit 422e9a4
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ class MasterPasswordDialog extends StatelessWidget {
),
),
const Padding(padding: EdgeInsets.only(bottom: 10)),
Row(
const Row(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: const [
children: [
CancelButton(),
Padding(padding: EdgeInsets.only(left: 10)),
SubmitButton()
Expand Down
3 changes: 2 additions & 1 deletion lib/data/vault_file/vault_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ class VaultFile with _$VaultFile {
factory VaultFile(
{required VaultHeader header,
required EncryptedData<VaultContents> contents,
@JsonKey(ignore: true) VaultUrl? url}) = _VaultFile;
@JsonKey(includeFromJson: false, includeToJson: false)
VaultUrl? url}) = _VaultFile;

factory VaultFile.fromJson(Map<String, dynamic> json) =>
_$VaultFileFromJson(json);
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/settings/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ class Settings extends StatelessWidget {
}
},
),
Row(
const Row(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: const [
children: [
BackToHomeButton(),
Padding(padding: EdgeInsets.only(left: 10)),
SaveButton()
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/vault/edit/edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ class EditItem extends StatelessWidget {
ItemUsernameInput(item: item),
ItemPasswordInput(item: item),
ItemNotesInput(item: item),
Row(
const Row(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
children: [
BackToHomeButton(),
Padding(padding: EdgeInsets.only(left: 20)),
SubmitButton()
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/vault/home/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class VaultHome extends StatelessWidget {
return AppWrapper(
child: BlocProvider(
create: (context) => VaultHomeBloc(vaultBloc: context.read<VaultBloc>()),
child: Column(children: const [SearchBar(), PasswordsView()]),
child: const Column(children: [SearchBar(), PasswordsView()]),
));
}
}
Expand Down
14 changes: 7 additions & 7 deletions lib/pages/vault/new/new.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,19 @@ class NewItem extends StatelessWidget {
current.createdItem != null,
)
],
child: Column(
child: const Column(
mainAxisSize: MainAxisSize.min,
children: [
const Text('New Item',
Text('New Item',
style:
TextStyle(color: Colors.white, fontSize: 30)),
const ItemNameInput(),
const ItemUsernameInput(),
const ItemPasswordInput(),
const ItemNotesInput(),
ItemNameInput(),
ItemUsernameInput(),
ItemPasswordInput(),
ItemNotesInput(),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
children: [
BackToHomeButton(),
Padding(padding: EdgeInsets.only(left: 20)),
SubmitButton()
Expand Down
Loading

0 comments on commit 422e9a4

Please sign in to comment.