refactor: Update to Dart 3.10 with . shorthands
This commit is contained in:
parent
75a37f3f7c
commit
1ea649f01e
167 changed files with 3351 additions and 3912 deletions
|
|
@ -79,10 +79,7 @@ class _LockScreenState extends State<LockScreen> {
|
|||
shrinkWrap: true,
|
||||
children: [
|
||||
Center(
|
||||
child: Image.asset(
|
||||
'assets/info-logo.png',
|
||||
width: 256,
|
||||
),
|
||||
child: Image.asset('assets/info-logo.png', width: 256),
|
||||
),
|
||||
TextField(
|
||||
controller: _textEditingController,
|
||||
|
|
@ -95,9 +92,7 @@ class _LockScreenState extends State<LockScreen> {
|
|||
onChanged: tryUnlock,
|
||||
onSubmitted: tryUnlock,
|
||||
style: const TextStyle(fontSize: 40),
|
||||
inputFormatters: [
|
||||
LengthLimitingTextInputFormatter(4),
|
||||
],
|
||||
inputFormatters: [LengthLimitingTextInputFormatter(4)],
|
||||
decoration: InputDecoration(
|
||||
errorText: _errorText,
|
||||
hintText: '****',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue