SHARE
TWEET

Untitled

a guest Jan 21st, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import 'package:flutter/material.dart';
  2.  
  3. class GolDarahABmin extends StatelessWidget {
  4.   @override
  5.   Widget build(BuildContext context) {
  6.     return Scaffold(
  7.       appBar: AppBar(
  8.         title: Text('Golongan Darah AB-'),
  9.         centerTitle: true,
  10.       ),
  11.       body: Container(
  12.         child: Column(
  13.           crossAxisAlignment: CrossAxisAlignment.start,
  14.           children: <Widget>[
  15.             SizedBox(height: 50),
  16.             Text(
  17.               'Anda dapat menerima dari',
  18.               style: TextStyle(fontSize: 25),
  19.             ),
  20.             SizedBox(height: 20),
  21.             Card(
  22.               elevation: 8,
  23.               child: Container(
  24.                 width: 150,
  25.                 height: 50,
  26.                 alignment: Alignment.center,
  27.                 // margin: EdgeInsets.only(left: 17, right: 17),
  28.                 child: Column(
  29.                   crossAxisAlignment: CrossAxisAlignment.center,
  30.                   mainAxisAlignment: MainAxisAlignment.center,
  31.                   children: <Widget>[
  32.                     Text(
  33.                       'Golongan AB-',
  34.                       style: TextStyle(fontWeight: FontWeight.bold),
  35.                     ),
  36.                   ],
  37.                 ),
  38.               ),
  39.             )
  40.           ],
  41.         ),
  42.       ),
  43.     );
  44.   }
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top