Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Dart

0 votes
903 views
1 answer
    I am trying out Flutter and I am trying to change the colour of the BottomNavigationBar on the app but all I could ... new FirstScreen(), ); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
941 views
1 answer
    I am trying to change color of the border of my TextField using a BorderSide, but it does not work. This is ... of the result is shown below. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'd like to execute a function after a certain delay after my Widget is built. What's the idiomatic way ... style property after some duration. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to make a bottomsheet that has a text field and autofocus is set to true so that the keyboard pops up ... , maxLines: 4, ),]); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I want to create a list of cards scrolling horizontally with snap to fit effect when swiped either from left or right. Each ... , ), ), ); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    How can I add shadow to the widget like in the picture below? This is my current widget code. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
848 views
1 answer
    Can I create something similar to Toasts in Flutter? Just a tiny notification window that is not directly in the ... fade the view behind it. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
846 views
1 answer
    I noticed that forEach and for in to produce different behavior. I have a list of RegExp and want to run ... different results. Why is this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
784 views
1 answer
    Is it possible to find(probably with the mirror API) all classes(in my project) with some metadata ... = getClassMirrorsByTag(#foo); } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I'm using Flutter. I have a simple app with 3 tabs. There is a RefreshIndicator in each tab with a ListView. ... times. Thank you for any help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
920 views
1 answer
    How to use the FutureBuilder with setState properly? For example, when i create a stateful widget its starting to load data ( ... ; } }, ); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I am trying to create a dropdown button in Flutter. I am getting a List from my database then I pass the list ... to get my List from database. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    Hi i'm trying to Fetch data from the internet in flutter and as long as all characters in response.body are ... the text in a text widget: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have app with two screens, and I want to make push from 1st to second screen by pressing button. Screen 1 ... a Navigator. What is wrong? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
957 views
1 answer
    When creating a widget tree, will inserting const before static widgets improve performance? ie child: const Text( ... Thanks for your answers! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I've been playing around with flutter an i'm loving it so far, but I'm having an issue getting the ... stretched but still fills the screen? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am trying to set a common theme for app so I need to change appbar color as a color that indicates hex code ... can I do this from themeData? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
776 views
1 answer
    I have been looking a lot for this but haven't found any packages or a way to schedule background tasks ... to schedule background tasks). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
983 views
1 answer
    What do I need to insert into TextField(inputFormatters:? I want to disallow and / in one TextField and only allow a to Z in another. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    inside my flutter app I want to check my api every 10 seconds. I found this post to run a function every x ... anybody know how to fix this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I am writing an app that uploads an image to a server, and instead of just showing a spinner, I'd love to ... with current dart / flutter APIs? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
916 views
1 answer
    Let's say I have a rectangular, portrait image: I'd like to crop it, such that it's rendered like this: How ... from https://flic.kr/p/nwXTDb) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am actually trying to convert an image picked by ImagePicker in flutter to base64 image. I am always getting ... mistake . Many thanks, Mahi See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Is there a good way to format a Duration in something like hh:mm:ss, without having to deal with time zones? I ... I get this: 0:00:00.000000 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
804 views
1 answer
    I would like to render a widget that needs an HTTP call to gather some data. Got the following code (simplified ... the widget does not update. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
966 views
1 answer
    How can i create an Carousel of Containers Like the example below? I looked at Pageview class but this only displays ... how i can fix this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
768 views
1 answer
    i need to implement searchview in toolbar my app to achieve list view list filter. like below image, i searched ... , thank you in advance. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
925 views
1 answer
    How can I simply set the height of the AppBar in Flutter? The title of the bar should be staying centered vertically (in that AppBar). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...