mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 06:50:42 +00:00
autofocus film name field
This commit is contained in:
parent
beeb67846a
commit
ca03de9abf
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ class FilmEditNameField extends StatelessWidget {
|
|||
),
|
||||
child: LightmeterTextField(
|
||||
initialValue: name,
|
||||
autofocus: true,
|
||||
maxLength: 48,
|
||||
hintText: S.of(context).name,
|
||||
onChanged: onChanged,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue