Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlatButton Deprecated #42

Open
yashkolte opened this issue Feb 5, 2022 · 4 comments
Open

FlatButton Deprecated #42

yashkolte opened this issue Feb 5, 2022 · 4 comments

Comments

@yashkolte
Copy link

As FlatButton Deprecated , App no longer running now . Please share the solution.

@olagookundavid
Copy link

Try textbutton

@MasterLWA
Copy link

FLATbutton type not support for a new versions of the flutter. Try TextButton type.

@osh91
Copy link

osh91 commented Jan 22, 2023

As FlatButton Deprecated , App no longer running now . Please share the solution.

Solution:

Expanded(
             child: TextButton(
           onPressed: () {},
           child: Image.asset("images/dice1.png"),
         )),

@sajjad-salam
Copy link

that is work
Expanded(
child: TextButton(
onPressed:function,
child: Image.asset("your image"),
)),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants