SentixDev

Untitled

Jun 25th, 2021
24
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lib/widgets/sidemenu/side_menu.dart:53:44: Error: Too few positional arguments: 2 required, 0 given.
  2. .map((item) => SideMenuItem(
  3. ^
  4. lib/widgets/sidemenu/side_menu_item.dart:11:9: Context: Found this candidate, but the arguments don't match.
  5. const SideMenuItem(this.itemName, this.onTap);
  6. ^^^^^^^^^^^^
  7. lib/widgets/sidemenu/side_menu.dart:68:18: Error: The argument type 'List<dynamic>' can't be assigned to the parameter type 'List<Widget>'.
  8. - 'List' is from 'dart:core'.
  9. - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('/C:/Flutter/flutter/packages/flutter/lib/src/widgets/framework.dart').
  10. .toList(),
  11. ^
  12.  
RAW Paste Data