Giter Club home page Giter Club logo

Comments (6)

stephane3434 avatar stephane3434 commented on July 21, 2024 1

thank you,

but it's not my file it's the one in the example.

from pluto_grid.

bosskmk avatar bosskmk commented on July 21, 2024

What is the error, can I see it?

from pluto_grid.

stephane3434 avatar stephane3434 commented on July 21, 2024

image

image

image

from pluto_grid.

bosskmk avatar bosskmk commented on July 21, 2024

Have you ever tried flutter clean or invalidate caches in the IDE?

from pluto_grid.

stephane3434 avatar stephane3434 commented on July 21, 2024

now i have the same error

  • flutter create .
  • flutter run

Syncing files to device Chrome...
lib/screen/home_screen.dart:44:24: Error: The argument type 'List' can't be assigned to the parameter type 'Widget'.

  • 'List' is from 'dart:core'.
  • 'Container' is from 'package:flutter/src/widgets/container.dart' ('/C:/Software/flutter/packages/flutter/lib/src/widgets/container.dart').
  • 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('/C:/Software/flutter/packages/flutter/lib/src/widgets/framework.dart').
    child: [
    ^
    Failed to compile application.

from pluto_grid.

bosskmk avatar bosskmk commented on July 21, 2024

Your HomeScreen file is wrong.
Child of line 44 can have one widget.

line 44
child: [
  Container(

>>

This is correct.
child: Container

from pluto_grid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.