import 'package:flutter/material.dart'; void main() { runApp(ArtistPortfolio()); } class ArtistPortfolio extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, title: 'Artist Portfolio', theme: ThemeData.dark(), home: PortfolioHomePage(), ); } } class PortfolioHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Artist Portfolio'), centerTitle: true, ), body: SingleChildScrollView( child: Column( crossAxisAlignment: CrossAxisAlignment.center, children: [ SizedBox(height: 20), CircleAvatar( radius: 60, backgroundImage: AssetImage('assets/profile.jpg'), // Replace with artist image ), SizedBox(height: 10), Text( 'Artist Name', style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold), ), SizedBox(height: 5), Text( 'Visual Artist | Painter | Illustrator', style: TextStyle(fontSize: 16, fontStyle: FontStyle.italic), ), SizedBox(height: 20), Text( 'Gallery', style: TextStyle(fontSize: 22, fontWeight: FontWeight.bold), ), Container( height: 300, padding: EdgeInsets.all(10), child: GridView.count( crossAxisCount: 2, children: List.generate(4, (index) { return Card( child: Image.asset( 'assets/art$index.jpg', // Replace with actual image paths fit: BoxFit.cover, ), ); }), ), ), SizedBox(height: 20), Padding( padding: EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'About the Artist', style: TextStyle(fontSize: 22, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'A short biography of the artist goes here. You can write about your inspirations, techniques, and artistic journey.', textAlign: TextAlign.justify, ), SizedBox(height: 20), Text( 'Contact', style: TextStyle(fontSize: 22, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text('Email: artist@example.com'), Text('Instagram: @artist_handle'), Text('Website: www.artistportfolio.com'), ], ), ), ], ), ), ); } }