about_config.dart 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import 'package:flutter/material.dart';
  2. import 'package:empty/components/background.dart';
  3. class AboutScreen extends StatefulWidget {
  4. @override
  5. _AboutScreenState createState() => _AboutScreenState();
  6. }
  7. class _AboutScreenState extends State<AboutScreen> {
  8. @override
  9. Widget build(BuildContext context) {
  10. return Background(
  11. image: Container(
  12. height: double.infinity,
  13. width: double.infinity,
  14. decoration: BoxDecoration(
  15. image: DecorationImage(
  16. image: AssetImage('assets/images/background_config.png'),
  17. fit: BoxFit.cover
  18. )
  19. ),
  20. ),
  21. child: Scaffold(
  22. backgroundColor: Colors.transparent,
  23. appBar: AppBar(
  24. title: Text('About Us',style: TextStyle(fontSize: 18),),
  25. //centerTitle: true,
  26. backgroundColor: Colors.transparent,
  27. elevation: 0.0,
  28. ),
  29. body: Center(
  30. child: InkWell(
  31. onTap: () {},
  32. child: Column(
  33. mainAxisAlignment: MainAxisAlignment.center,
  34. crossAxisAlignment: CrossAxisAlignment.center,
  35. children: [
  36. Row(),
  37. Text('다붓컨설팅',style:Theme.of(context).textTheme.headline5,),
  38. Text('www.dabut.net',style:Theme.of(context).textTheme.bodyText1)
  39. ],
  40. ),
  41. ),
  42. )
  43. ),
  44. );
  45. }
  46. }