Guest User

Untitled

a guest
Jan 21st, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. Widget _themeButton() => Column(
  2. mainAxisAlignment: MainAxisAlignment.center,
  3. children: <Widget>[
  4. SizedBox(height: 10),
  5. RaisedButton(
  6. onPressed: () {
  7. print("click");
  8. },
  9. child: Text(
  10. "textTheme:normal",
  11. style: TextStyle(fontSize: 40),
  12. ),
  13. textTheme: ButtonTextTheme.normal,
  14. ),
  15. RaisedButton(
  16. onPressed: () {
  17. print("click");
  18. },
  19. child: Text(
  20. "textTheme:accent",
  21. style: TextStyle(fontSize: 40),
  22. ),
  23. textTheme: ButtonTextTheme.accent,
  24. ),
  25. RaisedButton(
  26. onPressed: () {
  27. print("click");
  28. },
  29. child: Text(
  30. "textTheme:primary",
  31. style: TextStyle(fontSize: 40),
  32. ),
  33. textTheme: ButtonTextTheme.primary,
  34. ),
  35. ],
  36. );
Add Comment
Please, Sign In to add comment