Add step2
This commit is contained in:
parent
ef58387144
commit
155d97c9df
7 changed files with 266 additions and 4 deletions
25
lib/widgets/components/row_input.dart
Normal file
25
lib/widgets/components/row_input.dart
Normal file
|
@ -0,0 +1,25 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
class RowInput extends StatelessWidget {
|
||||
const RowInput({Key? key, required this.label, required this.controller})
|
||||
: super(key: key);
|
||||
|
||||
final String label;
|
||||
final TextEditingController controller;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SizedBox(
|
||||
width: 400,
|
||||
height: 70,
|
||||
child: Expanded(
|
||||
child: TextField(
|
||||
controller: controller,
|
||||
decoration: InputDecoration(
|
||||
hintText: label,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue