screen not displaying in flutter Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Adding a splash screen to Flutter appsHow to listen to keyboard on screen Flutter?Flutter app screen blur on emulatorhow to move a Widget in the screen in flutterFlutter : Can I add a Header Row to a ListViewHow to offset a scaffold widget in Flutter?Flutter - multiple files for screens?Flutter : Bad state: Stream has already been listened toFlutter detect if screen offHow flutter calculates screen width

What does "lightly crushed" mean for cardamon pods?

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Significance of Cersei's obsession with elephants?

What font is "z" in "z-score"?

Do square wave exist?

Can a new player join a group only when a new campaign starts?

Is it fair for a professor to grade us on the possession of past papers?

If my PI received research grants from a company to be able to pay my postdoc salary, did I have a potential conflict interest too?

Generate an RGB colour grid

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Dating a Former Employee

What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV

Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source

How does the math work when buying airline miles?

Why are both D and D# fitting into my E minor key?

How do pianists reach extremely loud dynamics?

8 Prisoners wearing hats

Why didn't Eitri join the fight?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

Do I really need to have a message in a novel to appeal to readers?

Why wasn't DOSKEY integrated with COMMAND.COM?

For a new assistant professor in CS, how to build/manage a publication pipeline

Do I really need recursive chmod to restrict access to a folder?

Is CEO the profession with the most psychopaths?



screen not displaying in flutter



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Adding a splash screen to Flutter appsHow to listen to keyboard on screen Flutter?Flutter app screen blur on emulatorhow to move a Widget in the screen in flutterFlutter : Can I add a Header Row to a ListViewHow to offset a scaffold widget in Flutter?Flutter - multiple files for screens?Flutter : Bad state: Stream has already been listened toFlutter detect if screen offHow flutter calculates screen width



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have hese snippet for a login screen and these codes arent displaying when i launch the app on the android device



here the error on the console I/flutter (12389): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (12389): The following assertion was thrown during performLayout():
I/flutter (12389): BoxConstraints forces an infinite width.
I/flutter (12389): These invalid constraints were provided to RenderAnimatedOpacity's layout() function by the
I/flutter (12389): following function, which probably computed the invalid constraints in question:



 import 'package:flutter/material.dart';

class UserEmail extends StatefulWidget
@override
State<StatefulWidget> createState()
return UserEmailState();




class UserEmailState extends State<UserEmail>

final TextEditingController _emailController = new TextEditingController();

@override
Widget build(BuildContext context)
return Scaffold(
appBar: new AppBar(
backgroundColor: Colors.transparent,
elevation: 0.0,
),

body: ListView(
children: <Widget>[
Padding(
padding: const EdgeInsets.all(16.0),
child: SizedBox(
child: new Row(
children: <Widget>[
Text("Welcome",
style: TextStyle(color: Colors.black,fontWeight: FontWeight.bold
),),
Text("A short slogan about the app...")
],
),
),
),

Padding(
padding: const EdgeInsets.all(24.0),
child: SizedBox(
child: Column(
children: <Widget>[
Row(
children: <Widget>[
TextField(
controller: _emailController,
decoration: new InputDecoration(
labelText: "Email",
hintText: "Enter email address"
),
)
],
),

Padding(
padding: const EdgeInsets.all(8.0),
child: new RaisedButton(
onPressed: null,
textColor: Colors.white,
color: Colors.blueGrey,
padding: const EdgeInsets.all(8.0),
child: new Text(
"Continue")
),
),
],
),
),
)
],
),
);











share|improve this question




























    0















    I have hese snippet for a login screen and these codes arent displaying when i launch the app on the android device



    here the error on the console I/flutter (12389): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
    I/flutter (12389): The following assertion was thrown during performLayout():
    I/flutter (12389): BoxConstraints forces an infinite width.
    I/flutter (12389): These invalid constraints were provided to RenderAnimatedOpacity's layout() function by the
    I/flutter (12389): following function, which probably computed the invalid constraints in question:



     import 'package:flutter/material.dart';

    class UserEmail extends StatefulWidget
    @override
    State<StatefulWidget> createState()
    return UserEmailState();




    class UserEmailState extends State<UserEmail>

    final TextEditingController _emailController = new TextEditingController();

    @override
    Widget build(BuildContext context)
    return Scaffold(
    appBar: new AppBar(
    backgroundColor: Colors.transparent,
    elevation: 0.0,
    ),

    body: ListView(
    children: <Widget>[
    Padding(
    padding: const EdgeInsets.all(16.0),
    child: SizedBox(
    child: new Row(
    children: <Widget>[
    Text("Welcome",
    style: TextStyle(color: Colors.black,fontWeight: FontWeight.bold
    ),),
    Text("A short slogan about the app...")
    ],
    ),
    ),
    ),

    Padding(
    padding: const EdgeInsets.all(24.0),
    child: SizedBox(
    child: Column(
    children: <Widget>[
    Row(
    children: <Widget>[
    TextField(
    controller: _emailController,
    decoration: new InputDecoration(
    labelText: "Email",
    hintText: "Enter email address"
    ),
    )
    ],
    ),

    Padding(
    padding: const EdgeInsets.all(8.0),
    child: new RaisedButton(
    onPressed: null,
    textColor: Colors.white,
    color: Colors.blueGrey,
    padding: const EdgeInsets.all(8.0),
    child: new Text(
    "Continue")
    ),
    ),
    ],
    ),
    ),
    )
    ],
    ),
    );











    share|improve this question
























      0












      0








      0








      I have hese snippet for a login screen and these codes arent displaying when i launch the app on the android device



      here the error on the console I/flutter (12389): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
      I/flutter (12389): The following assertion was thrown during performLayout():
      I/flutter (12389): BoxConstraints forces an infinite width.
      I/flutter (12389): These invalid constraints were provided to RenderAnimatedOpacity's layout() function by the
      I/flutter (12389): following function, which probably computed the invalid constraints in question:



       import 'package:flutter/material.dart';

      class UserEmail extends StatefulWidget
      @override
      State<StatefulWidget> createState()
      return UserEmailState();




      class UserEmailState extends State<UserEmail>

      final TextEditingController _emailController = new TextEditingController();

      @override
      Widget build(BuildContext context)
      return Scaffold(
      appBar: new AppBar(
      backgroundColor: Colors.transparent,
      elevation: 0.0,
      ),

      body: ListView(
      children: <Widget>[
      Padding(
      padding: const EdgeInsets.all(16.0),
      child: SizedBox(
      child: new Row(
      children: <Widget>[
      Text("Welcome",
      style: TextStyle(color: Colors.black,fontWeight: FontWeight.bold
      ),),
      Text("A short slogan about the app...")
      ],
      ),
      ),
      ),

      Padding(
      padding: const EdgeInsets.all(24.0),
      child: SizedBox(
      child: Column(
      children: <Widget>[
      Row(
      children: <Widget>[
      TextField(
      controller: _emailController,
      decoration: new InputDecoration(
      labelText: "Email",
      hintText: "Enter email address"
      ),
      )
      ],
      ),

      Padding(
      padding: const EdgeInsets.all(8.0),
      child: new RaisedButton(
      onPressed: null,
      textColor: Colors.white,
      color: Colors.blueGrey,
      padding: const EdgeInsets.all(8.0),
      child: new Text(
      "Continue")
      ),
      ),
      ],
      ),
      ),
      )
      ],
      ),
      );











      share|improve this question














      I have hese snippet for a login screen and these codes arent displaying when i launch the app on the android device



      here the error on the console I/flutter (12389): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
      I/flutter (12389): The following assertion was thrown during performLayout():
      I/flutter (12389): BoxConstraints forces an infinite width.
      I/flutter (12389): These invalid constraints were provided to RenderAnimatedOpacity's layout() function by the
      I/flutter (12389): following function, which probably computed the invalid constraints in question:



       import 'package:flutter/material.dart';

      class UserEmail extends StatefulWidget
      @override
      State<StatefulWidget> createState()
      return UserEmailState();




      class UserEmailState extends State<UserEmail>

      final TextEditingController _emailController = new TextEditingController();

      @override
      Widget build(BuildContext context)
      return Scaffold(
      appBar: new AppBar(
      backgroundColor: Colors.transparent,
      elevation: 0.0,
      ),

      body: ListView(
      children: <Widget>[
      Padding(
      padding: const EdgeInsets.all(16.0),
      child: SizedBox(
      child: new Row(
      children: <Widget>[
      Text("Welcome",
      style: TextStyle(color: Colors.black,fontWeight: FontWeight.bold
      ),),
      Text("A short slogan about the app...")
      ],
      ),
      ),
      ),

      Padding(
      padding: const EdgeInsets.all(24.0),
      child: SizedBox(
      child: Column(
      children: <Widget>[
      Row(
      children: <Widget>[
      TextField(
      controller: _emailController,
      decoration: new InputDecoration(
      labelText: "Email",
      hintText: "Enter email address"
      ),
      )
      ],
      ),

      Padding(
      padding: const EdgeInsets.all(8.0),
      child: new RaisedButton(
      onPressed: null,
      textColor: Colors.white,
      color: Colors.blueGrey,
      padding: const EdgeInsets.all(8.0),
      child: new Text(
      "Continue")
      ),
      ),
      ],
      ),
      ),
      )
      ],
      ),
      );








      flutter






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 9:25







      user8689634





























          1 Answer
          1






          active

          oldest

          votes


















          0














          wrap your TextField inside an Expanded or Flexible widget. Like this:



           Flexible(
          child: TextField(
          controller: _emailController,
          decoration: new InputDecoration(
          labelText: "Email",
          hintText: "Enter email address"
          ),
          ),
          )





          share|improve this answer























          • thanks. it is displaying @ryosuke

            – user8689634
            Mar 22 at 10:11











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296479%2fscreen-not-displaying-in-flutter%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown
























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          wrap your TextField inside an Expanded or Flexible widget. Like this:



           Flexible(
          child: TextField(
          controller: _emailController,
          decoration: new InputDecoration(
          labelText: "Email",
          hintText: "Enter email address"
          ),
          ),
          )





          share|improve this answer























          • thanks. it is displaying @ryosuke

            – user8689634
            Mar 22 at 10:11















          0














          wrap your TextField inside an Expanded or Flexible widget. Like this:



           Flexible(
          child: TextField(
          controller: _emailController,
          decoration: new InputDecoration(
          labelText: "Email",
          hintText: "Enter email address"
          ),
          ),
          )





          share|improve this answer























          • thanks. it is displaying @ryosuke

            – user8689634
            Mar 22 at 10:11













          0












          0








          0







          wrap your TextField inside an Expanded or Flexible widget. Like this:



           Flexible(
          child: TextField(
          controller: _emailController,
          decoration: new InputDecoration(
          labelText: "Email",
          hintText: "Enter email address"
          ),
          ),
          )





          share|improve this answer













          wrap your TextField inside an Expanded or Flexible widget. Like this:



           Flexible(
          child: TextField(
          controller: _emailController,
          decoration: new InputDecoration(
          labelText: "Email",
          hintText: "Enter email address"
          ),
          ),
          )






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 22 at 9:38









          RyosukeRyosuke

          451110




          451110












          • thanks. it is displaying @ryosuke

            – user8689634
            Mar 22 at 10:11

















          • thanks. it is displaying @ryosuke

            – user8689634
            Mar 22 at 10:11
















          thanks. it is displaying @ryosuke

          – user8689634
          Mar 22 at 10:11





          thanks. it is displaying @ryosuke

          – user8689634
          Mar 22 at 10:11



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296479%2fscreen-not-displaying-in-flutter%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?