Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- void main() => runApp(MyApp());
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- theme: ThemeData(primarySwatch: Colors.teal),
- title: 'Cv',
- home: homepage(),
- );
- }
- }
- class homepage extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: Colors.teal,
- body: Center(
- child: SafeArea(
- child: Column(
- children: <Widget>[
- CircleAvatar(
- backgroundColor: Colors.red,
- radius: 48.9,
- ),
- Text(
- 'Dev Rexz',
- style: TextStyle(
- fontSize: 40.5,
- fontWeight: FontWeight.bold,
- color: Colors.white,
- ),
- )
- ],
- )),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement