My code keeps giving me error due to return Scaffold. here is my scaffold code:
class _DashboardState extends State<Dashboard> { @override Widget build(BuildContext context) { return Scaffold( drawer: Drawer( child: Column (children: <Widget>[ AppBar(automaticallyImplyLeading: false, title: Text('Special Options'), backgroundColor: Colors.redAccent.shade400 ), Here is the error code I got during debug
Context: Found this candidate, but the arguments don't match.
lib/ui/usertype.dart:29:24: Error: Too few positional arguments: 1 required, 0 given.file:///C:/flutter/flutter/packages/flutter/lib/src/material/scaffold.dart:1: Context: Found this candidate, but the arguments don't match.
Compiler failed