Guest User

Untitled

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