Answers for "The argument type 'ResponsiveAppBar' can't be assigned to the parameter type 'PreferredSizeWidget?'.dart(argument_type_not_assignable)"

0

The argument type 'ResponsiveAppBar' can't be assigned to the parameter type 'PreferredSizeWidget?'.dart(argument_type_not_assignable)

Scaffold(
  appBar: PreferredSize(
    preferredSize: const Size.fromHeight(100),
    child: Container(color: Colors.red),
  ),
)
Posted by: Guest on September-04-2021

Code answers related to "The argument type 'ResponsiveAppBar' can't be assigned to the parameter type 'PreferredSizeWidget?'.dart(argument_type_not_assignable)"

Browse Popular Code Answers by Language