sdsds

 avatar
unknown
dart
2 years ago
968 B
1
Indexable
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,
            ),
          ),
        ),
      ),
    );
  }
}