autofocus film name field

This commit is contained in:
Vadim 2024-10-31 15:13:06 +01:00
parent beeb67846a
commit ca03de9abf
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ class FilmEditNameField extends StatelessWidget {
),
child: LightmeterTextField(
initialValue: name,
autofocus: true,
maxLength: 48,
hintText: S.of(context).name,
onChanged: onChanged,

View file

@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
class LightmeterTextField extends TextFormField {
LightmeterTextField({
super.controller,
super.focusNode,
super.autofocus,
super.initialValue,
super.inputFormatters,
super.maxLength,