Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Songdapeng
@nitiphone
How can i put code?
`Expanded(
child: ValueListenableBuilder<List<Event>>(
valueListenable: selectedEvents,
builder: (context, value,
) {
return ListView.builder(
itemCount: value.length,
itemBuilder: (context, index) {
                  return Container(
                      margin: const EdgeInsets.symmetric(
                        horizontal: 12.0,
                        vertical: 4.0,
                      ),
                      decoration: BoxDecoration(
                        border: Border.all(color: Colors.amber),
                        borderRadius: BorderRadius.circular(12.0),
                      ),

                      child: ListTile(
                          contentPadding: const EdgeInsets.symmetric(
                              horizontal: 5.0, vertical: 5),
                          horizontalTitleGap:
                              20.0, // The horizontal gap between the titles and the leading/trailing widgets.

                          title: Text('${value[index]}',
                              style: const TextStyle(
                                  fontFamily: 'Phetsarath_ot')),
                          leading: Container(
                            width: 80.0,
                            height: 100.0,
                            decoration: BoxDecoration(
                              borderRadius: const BorderRadius.all(
                                  Radius.circular(8.0)),
                              image: DecorationImage(
                                  fit: BoxFit.cover,
                                  image: AssetImage(imageList[0])),
                            ),
                          )
                          ));

                }

            );
          },
        ),
      ),`

`
final List<String> imageList = [
"assets/images/calendar/buddha-big.jpg",
"assets/images/calendar/buddha-small.jpg",
"assets/images/calendar/buddha-big.jpg",
"assets/images/calendar/buddha-small.jpg",
"assets/images/calendar/buddha-big.jpg",
"assets/images/calendar/buddha-small.jpg",
"assets/images/calendar/makhabousa.jpg",
"assets/images/calendar/seekodtabong.jpg",
"assets/images/calendar/watpou.jpg",
"assets/images/calendar/buddha-small.jpg",
"assets/images/calendar/buddha-big.jpg",
"assets/images/calendar/buddha-small.jpg",
"assets/images/calendar/buddha-big.jpg",
];

final kEvents = LinkedHashMap<DateTime, List<Event>>(
equals: isSameDay,
hashCode: getHashCode,
)..addAll(_kEventSource);

final _kEventSource = {
DateTime.utc(2022, 01, 02): [const Event('ແຮມ 14 ຄ່ຳ ເດືອນ 1')],
DateTime.utc(2022, 01, 10): [const Event('ຂື້ນ 8 ຄ່ຳ ເດືອນ 2')],
DateTime.utc(2022, 01, 17): [const Event('ຂື້ນ 15 ຄ່ຳ ເດືອນ 2')],
DateTime.utc(2022, 01, 25): [const Event('ແຮມ 8 ຄ່ຳ ເດືອນ 2')],
DateTime.utc(2022, 02, 01): [const Event('ແຮມ 15 ຄ່ຳ ເດືອນ 2')],
DateTime.utc(2022, 02, 09): [const Event('ຂື້ນ 8 ຄ່ຳ ເດືອນ 3')],
DateTime.utc(2022, 02, 16): eventlist1602,
DateTime.utc(2022, 02, 24): [const Event('ແຮມ 8 ຄ່ຳ ເດືອນ 3')],
`

Rakholiya Chirag R
@Rcmix17
Hello everyone good evening, I have bug on my live project we got error after creating flutter build apk, the app is not supporting Android 6 to 8 version I mean Its required 29 SDK version or greater any one know the this issue ?
Rakholiya Chirag R
@Rcmix17
Good evening everyone one, I have some issues in my app any on help me with that .
This is my error and gradle link I just changed my appid in paste bin ok
https://paste-bin.xyz/23315
https://paste-bin.xyz/23320
Rakholiya Chirag R
@Rcmix17
Now error is solved sorry for troubling you
raminmoharrami
@raminmoharrami
any idea how long can a video decryption take in an app? it takes me 3 mins to decrypt a 65 MB video which is encrypted with aes-cbc. isnt that a long time?
Valk Dokk
@TheValkDokk

hi guys, i have a question about user data collection
i recently got a new assignment from my Intern Team Management to checkout Face ID/Recognition or Biometric Authentication. But he require the project to save and send those facial, image data to the backend.

So my question is: Does Google/Apple allow dev to collect and store user face, fingerprint data to send to the backend server?

Abhishek Kumar Srivastava
@sacredabhishek
Hi , can any one suggest / advise what i am facing in this scenario : not able to receive OTP on internal Test Release , using Firebase for notification
Head0nF1re
@Head0nF1re
@TheValkDokk I'm sure they love data collection, lel... But, doesn't that depend on Terms and Agreement with the user?
Is there a way I could print the api response after being mapped? I can print the response.body but after mapping and getting the result if I print I can only get "Instance of..."
Head0nF1re
@Head0nF1re

Is there a way I could print the api response after being mapped? I can print the response.body but after mapping and getting the result if I print I can only get "Instance of..."

got it, inspect

youngKook
@cyg02032015

// What is the best way to declare a BaseReponse<T> model that i can parse json?
// Like:
class BaseResponse<T> {
final int code = 0;
final String message = '';
final T? data;
}

BaseResponse<TestModel> response = await network()
BaseResponse<List<TestModel>> response = await network()

It’s work on BaseResponse<TestModel> but not work on BaseResponse<List<TestModel>>
Neil Jay Warner
@neiljaywarner

good morning. Anyone have any thought son weird build runner issues? [SEVERE] json_serializable:json_serializable on test/widgets/blahblahtest.dart:

Invalid argument(s): Missing library: blahblah_nontest.dart - even though it does exist, has no issues, compiles, and is NOT references in blahblahtest.dart :(

LE HUU PHU
@lephus
Good morning, Can any one suggest | how to call a async js function from flutter? Example: await js.context.callMethod("getData", []); with getData is JS async function. Thank so much.
leku
@leku451
hello..
I'm trying to integrate the Nodle SDK into my flutter app, it says to configure my Class name in the AndroidManifest.xml (https://developer.nodle.com/nodle-sdk/)
<!-- Put your application class name below -->
    <application
        android:name="App">
    </application>
whatever I put in there it says it can't find
leku
@leku451
nevermind id ont think that is my problem..
Fred Grott
@fredgrott
This is how to implement BLoC with something you already know Notifier listeners https://fredgrott.medium.com/bloc-with-training-wheels-1ae977f0cb2f?sk=6242d6cd9b6d48121d578a8871d2d8f5
fu2re4l
@fu2re4l:matrix.org
[m]
hello guys
fu2re4l
@fu2re4l:matrix.org
[m]
is this channel alive?
Randal L. Schwartz
@RandalSchwartz
Yes. but discord is far more lively
Arun S Acharya
@arunsacharyadev
which is the backend we need to choose for the cab service application other than firebase ?
Johannes Milke
@JohannesMilke_twitter
Hello! I have created another video about "Flutter Tutorial - Add Package From Pub.dev [2021] (http)" https://www.youtube.com/watch?v=_tCgIwza9bU alt
KlintLee115
@KlintLee115
Anyone here using flutterweb? I am wondering about the performance of it as I am trying to build a company website using it. However, reddit and youtube videos say that its really bad? So hows the update?
Randal L. Schwartz
@RandalSchwartz
there are some operations like scrolling that seem slower than they should.
but animation is on par with the mobile platform
KlintLee115
@KlintLee115
@RandalSchwartz what about the seo? I saw this package https://pub.dev/packages/seo_renderer but unsure if it is a good seo renderer
Randal L. Schwartz
@RandalSchwartz
I have some code I was working on to do that, but I hadn’t uploaded it to pub yet
I hook in to the router, to populate the meta tags of the web page with unique information for that url
it seemed to work well, but I haven’t tested it yet.
as in the web page HTML was updated even before the first paint
KlintLee115
@KlintLee115
Oh, I am actually just trying to use flutter for the website cuz gosh, css is really confusing
showtestlog
@showtestlog
Is it possible to generate maco files with this command? The current product is ELF, which causes a bit of a problem with the offset when symbolically parsing the dart.
thank you.
image.png
thanks
Steven Parker
@ConnectSteven_twitter
A Video Player For Vimeo Videos in Flutter. This plugin allows us to play video from Vimeo and it supports Android and iOS platforms.https://github.com/Mindinventory/vimeo_video_player
Mohammed Nabil
@nabilmohammed:matrix.org
[m]

Hello

I'm integrating mastercard payment gateway sdk in my project, this is the link
https://github.com/Mastercard-Gateway/gateway-android-sdk/wiki/3d-secure-authentication
I want to display 3-D Secure authentication screen but when the app launches it crash and the error it is displaying "java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity". I checked in stackoverflow but unfortunately no success.

Daniel Ardison
@dardison
Hi guys anyone I have this problem with Streams, I have 2 behaviorSubject one have an initialValue of N and the other one have sucesive values of N produced by a textField, I need to provide a new Stream<N> that returns initialValue until edited values arrives then it should emit only that values. I checked the rxdart docs but I couldn't found any function that could provide this result. Any idea would be helpful, thanks
Randal L. Schwartz
@RandalSchwartz
See async * subroutine attribute and yield
Daniel Ardison
@dardison
Hi @RandalSchwartz thanks for your answer. I know that I could use yield to emit a new stream listen to one of the streams but in this case I need more to combine both streams but without the restrictions that both need to emit at least one value, because I need to emit initialValue until the other stream (edited value) emits, when that happens I need to emit the edited values instead
I was thinking that maybe MergeStream could do the trick I am testing that solution right now
Randal L. Schwartz
@RandalSchwartz
My solution is probably the easiest.
But I am on mobile right now so it’s hard to type.
Daniel Ardison
@dardison
Not sure how can I mix both streams with an async * function. If you have the time later to elaborate on that I will appreciated. Thanks again.