Add steam message
This commit is contained in:
parent
1351130f83
commit
f2d808f5d3
8 changed files with 226 additions and 68 deletions
|
@ -1,11 +1,16 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
class RowInput extends StatelessWidget {
|
||||
const RowInput({Key? key, required this.label, required this.controller})
|
||||
const RowInput(
|
||||
{Key? key,
|
||||
required this.label,
|
||||
required this.controller,
|
||||
this.obscureText = false})
|
||||
: super(key: key);
|
||||
|
||||
final String label;
|
||||
final TextEditingController controller;
|
||||
final bool obscureText;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -15,6 +20,7 @@ class RowInput extends StatelessWidget {
|
|||
child: Expanded(
|
||||
child: TextField(
|
||||
controller: controller,
|
||||
obscureText: obscureText,
|
||||
decoration: InputDecoration(
|
||||
hintText: label,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue