• This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • kevin
    Keymaster
    Postcount 41

    I want use Toast dialog in Flutter as Android. How can I do?


    kevin
    Keymaster
    Postcount 41

    You can use this plugin fluttertoast for your app. Code sample as below:

    Fluttertoast.showToast(
    msg: “Hello world”,
    textColor: Colors.white,
    toastLength: Toast.LENGTH_SHORT,
    timeInSecForIos: 1,
    gravity: ToastGravity.BOTTOM,
    backgroundColor: Colors.indigo,
    );

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Top