79825752

Date: 2025-11-20 16:53:19
Score: 1
Natty:
Report link

You should select only Widget! part like (without trailing comma)

// Source - https://stackoverflow.com/q/56558409
// Posted by Nicholas Muir, modified by community. See post 'Timeline' for change history
// Retrieved 2025-11-20, License - CC BY-SA 4.0

Expanded(
  child: Container(
    child: Padding(
      padding: const EdgeInsets.only(left: 8.0, right: 8.0, top: 8.0, bottom: 4.0),
      child: TextField(
        decoration: InputDecoration(
          border: OutlineInputBorder(
            borderRadius: const BorderRadius.all(
              const Radius.circular(10.0),
            ),
          ),
          filled: true,
          hintStyle: TextStyle(color: Colors.grey[800]),
          hintText: "Supervisor",
          fillColor: Colors.white70,
        ),
      ),
    ),
  ),
) //, (without this comma and it will work)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HItori