Answer the question
In order to leave comments, you need to log in
Why can't I create a TextField?
return Scaffold(
backgroundColor: color_grey,
body: SafeArea(
child: Row(
children: [
TextField(
obscureText: true,
cursorColor: color_red,
decoration: InputDecoration(
enabledBorder: OutlineInputBorder(borderRadius: BorderRadius.circular(5), borderSide: BorderSide(color: Colors.grey)),
focusedBorder: OutlineInputBorder(borderRadius: BorderRadius.circular(5), borderSide: BorderSide(color: color_red, width: 2))
)
),
],
),
)
);
static _doThrowNew(int assertionStart, int assertionEnd, Object? message)
native "AssertionError_throwNew";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question