fix: source typo in flutter/lib/common/widgets/address_book.dart (#10884)

Found via codespell
This commit is contained in:
luzpaz 2025-02-22 20:01:52 -05:00 committed by GitHub
parent e191d11f74
commit 6f1a769741
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -509,13 +509,13 @@ class _AddressBookState extends State<AddressBook> {
double marginBottom = 4; double marginBottom = 4;
row({required Widget lable, required Widget input}) { row({required Widget label, required Widget input}) {
makeChild(bool isPortrait) => Row( makeChild(bool isPortrait) => Row(
children: [ children: [
!isPortrait !isPortrait
? ConstrainedBox( ? ConstrainedBox(
constraints: const BoxConstraints(minWidth: 100), constraints: const BoxConstraints(minWidth: 100),
child: lable.marginOnly(right: 10)) child: label.marginOnly(right: 10))
: SizedBox.shrink(), : SizedBox.shrink(),
Expanded( Expanded(
child: ConstrainedBox( child: ConstrainedBox(
@ -535,7 +535,7 @@ class _AddressBookState extends State<AddressBook> {
Column( Column(
children: [ children: [
row( row(
lable: Row( label: Row(
children: [ children: [
Text( Text(
'*', '*',
@ -558,7 +558,7 @@ class _AddressBookState extends State<AddressBook> {
errorMaxLines: 5), errorMaxLines: 5),
).workaroundFreezeLinuxMint())), ).workaroundFreezeLinuxMint())),
row( row(
lable: Text( label: Text(
translate('Alias'), translate('Alias'),
style: style, style: style,
), ),
@ -573,7 +573,7 @@ class _AddressBookState extends State<AddressBook> {
), ),
if (isCurrentAbShared) if (isCurrentAbShared)
row( row(
lable: Text( label: Text(
translate('Password'), translate('Password'),
style: style, style: style,
), ),