Hibok
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

26 řádky
764 B

  1. import 'package:flutter/material.dart';
  2. class PlaceholderWidget extends StatelessWidget {
  3. const PlaceholderWidget(this.title, this.message);
  4. final String title;
  5. final String message;
  6. @override
  7. Widget build(BuildContext context) {
  8. return Center(
  9. child: Column(
  10. mainAxisAlignment: MainAxisAlignment.center,
  11. crossAxisAlignment: CrossAxisAlignment.center,
  12. children: <Widget>[
  13. Text(title,
  14. style: const TextStyle(fontSize: 32.0, color: Colors.black54),
  15. textAlign: TextAlign.center),
  16. Text(message,
  17. style: const TextStyle(fontSize: 16.0, color: Colors.black54),
  18. textAlign: TextAlign.center),
  19. ],
  20. ),
  21. );
  22. }
  23. }