sdsds

mail@pastecode.io avatar
unknown
dart
a year ago
968 B
1
Indexable
Never
import 'package:flutter/material.dart';

class HomePage extends StatefulWidget {
  const HomePage({super.key});

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text(
          "Mening ilovam",
        ),
      ),
      body: Center(
        child: Container(
          width: 200,
          height: 200,
          decoration: BoxDecoration(
              // borderRadius: BorderRadius.circular(30),
              shape: BoxShape.circle,
              border: Border.all(color: Colors.pink, width: 5)),
          child: ClipOval(
            child: Image.asset(
              width: 200,
              height: 200,
              'assets/man_image.jpg',
              fit: BoxFit.cover,
            ),
          ),
        ),
      ),
    );
  }
}