1
0
Fork 0

Add steam message

This commit is contained in:
Florian RICHER (MrDev023) 2022-04-14 21:57:32 +02:00
parent 1351130f83
commit f2d808f5d3
8 changed files with 226 additions and 68 deletions

View file

@ -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,
),