import 'package:flutter/material.dart'; void main() { runApp(const FigmaToCodeApp()); }…
- User
import 'package:flutter/material.dart';
void main() { runApp(const FigmaToCodeApp()); }
// Generated by: https://www.figma.com/community/plugin/842128343887142055/ class FigmaToCodeApp extends StatelessWidget { const FigmaToCodeApp({super.key});
@override Widget build(BuildContext context) { return MaterialApp( theme: ThemeData.dark().copyWith( scaffoldBackgroundColor: const Color.fromARGB(255, 18, 32, 47), ), home: Scaffold( body: ListView(children: [ Prewie(), ]), ), ); } }
class Prewie extends StatelessWidget { @override Widget build(BuildContext context) { return Column( children: [ Container( width: 1920, height: 1080, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(color: Color(0xFF090809)), child: Stack( children: [ Positioned( left: 523, top: 380, child: Opacity( opacity: 0.80, child: Container( width: 1176, height: 139, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 1176, height: 139, decoration: ShapeDecoration( gradient: LinearGradient( begin: Alignment(1.00, -0.03), end: Alignment(-1, 0.03), colors: [Color(0x7F050505), Color(0xFF050505)], ), shape: RoundedRectangleBorder( side: BorderSide( width: 2, color: Color(0x7F444444)), borderRadius: BorderRadius.circular(24), ), ), ), ), Positioned( left: 54, top: 32, child: Container( width: 392, height: 60, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 392, height: 37.97, child: Stack( children: [ Positioned( left: 48, top: 5, child: SizedBox( width: 344, height: 28, child: Text( 'Мой пидорасный сервер', style: TextStyle( color: Colors.white, fontSize: 28, fontFamily: 'Neue Machina', fontWeight: FontWeight.w700, height: 0, letterSpacing: -1.68, ), ), ), ), Positioned( left: 0, top: 0, child: SizedBox( width: 34.32, height: 37.97, child: Text( '🇩🇪', style: TextStyle( color: Colors.white, fontSize: 32, fontFamily: 'Onest', fontWeight: FontWeight.w500, height: 0, letterSpacing: -1.92, ), ), ), ), ], ), ), ), Positioned( left: 2, top: 36, child: SizedBox( width: 221, height: 24, child: Text( 'd1.pay4govno.cloud:14881', style: TextStyle( color: Colors.white .withOpacity(0.4000000059604645), fontSize: 20, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), ), ], ), ), ), Positioned( left: 712, top: 33, child: Container( width: 426, height: 84, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 426, height: 37, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '2 vCPU', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), Positioned( left: 147, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '4 GB RAM', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), Positioned( left: 294, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '32GB SSD', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), ], ), ), ), Positioned( left: 296, top: 47, child: Container( width: 130, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Container( width: 24, height: 24, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(), child: FlutterLogo(), ), const SizedBox(width: 5), Text( 'Управление', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), ], ), ), ), ], ), ), ), ), Positioned( left: 523, top: 380, child: Opacity( opacity: 0.80, child: Container( width: 1176, height: 139, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 1176, height: 139, decoration: ShapeDecoration( gradient: LinearGradient( begin: Alignment(1.00, -0.03), end: Alignment(-1, 0.03), colors: [Color(0x7F050505), Color(0xFF050505)], ), shape: RoundedRectangleBorder( side: BorderSide( width: 2, color: Color(0x7F444444)), borderRadius: BorderRadius.circular(24), ), ), ), ), Positioned( left: 54, top: 32, child: Container( width: 392, height: 60, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 392, height: 37.97, child: Stack( children: [ Positioned( left: 48, top: 5, child: SizedBox( width: 344, height: 28, child: Text( 'Мой пидорасный сервер', style: TextStyle( color: Colors.white, fontSize: 28, fontFamily: 'Neue Machina', fontWeight: FontWeight.w700, height: 0, letterSpacing: -1.68, ), ), ), ), Positioned( left: 0, top: 0, child: SizedBox( width: 34.32, height: 37.97, child: Text( '🇩🇪', style: TextStyle( color: Colors.white, fontSize: 32, fontFamily: 'Onest', fontWeight: FontWeight.w500, height: 0, letterSpacing: -1.92, ), ), ), ), ], ), ), ), Positioned( left: 2, top: 36, child: SizedBox( width: 221, height: 24, child: Text( 'd1.pay4govno.cloud:14881', style: TextStyle( color: Colors.white .withOpacity(0.4000000059604645), fontSize: 20, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), ), ], ), ), ), Positioned( left: 712, top: 33, child: Container( width: 426, height: 84, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 426, height: 37, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '2 vCPU', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), Positioned( left: 147, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '4 GB RAM', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), Positioned( left: 294, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '32GB SSD', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), ], ), ), ), Positioned( left: 296, top: 47, child: Container( width: 130, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Container( width: 24, height: 24, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(), child: FlutterLogo(), ), const SizedBox(width: 5), Text( 'Управление', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), ], ), ), ), ], ), ), ), ), Positioned( left: 523, top: 539, child: Opacity( opacity: 0.80, child: Container( width: 1176, height: 139, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 1176, height: 139, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 1176, height: 139, decoration: ShapeDecoration( gradient: LinearGradient( begin: Alignment(1.00, -0.03), end: Alignment(-1, 0.03), colors: [ Color(0x7F050505), Color(0xFF050505) ], ), shape: RoundedRectangleBorder( side: BorderSide( width: 2, color: Color(0x7F444444)), borderRadius: BorderRadius.circular(24), ), ), ), ), Positioned( left: 54, top: 32, child: Container( width: 390, height: 60, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 390, height: 37.97, child: Stack( children: [ Positioned( left: 46, top: 5, child: SizedBox( width: 344, height: 28, child: Text( 'Мой пидорасный сервер', style: TextStyle( color: Colors.white, fontSize: 28, fontFamily: 'Neue Machina', fontWeight: FontWeight.w700, height: 0, letterSpacing: -1.68, ), ), ), ), Positioned( left: 0, top: 0, child: SizedBox( width: 34.32, height: 37.97, child: Text( '🇩🇪', style: TextStyle( color: Colors.white, fontSize: 32, fontFamily: 'Onest', fontWeight: FontWeight.w500, height: 0, letterSpacing: -1.92, ), ), ), ), ], ), ), ), Positioned( left: 2, top: 36, child: SizedBox( width: 221, height: 24, child: Text( 'd1.pay4govno.cloud:14881', style: TextStyle( color: Colors.white.withOpacity( 0.4000000059604645), fontSize: 20, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), ), ], ), ), ), ], ), ), ), Positioned( left: 712, top: 33, child: Container( width: 426, height: 84, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 426, height: 37, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '2 vCPU', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), Positioned( left: 147, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '4 GB RAM', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), Positioned( left: 294, top: 0, child: Container( width: 132, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( color: Color(0x4C444444), shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Text( '32GB SSD', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), ], ), ), ), Positioned( left: 296, top: 47, child: Container( width: 130, height: 37, padding: const EdgeInsets.symmetric( horizontal: 20, vertical: 10), decoration: ShapeDecoration( shape: RoundedRectangleBorder( side: BorderSide( width: 1, color: Color(0xB2444444)), borderRadius: BorderRadius.circular(12), ), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ Container( width: 24, height: 24, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(), child: FlutterLogo(), ), const SizedBox(width: 5), Text( 'Управление', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Onest', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ], ), ), ), ], ), ), ), ], ), ), ), ), Positioned( left: 523, top: 63, child: Container( width: 1176, height: 184, child: Stack( children: [ Positioned( left: 0, top: 0, child: Opacity( opacity: 0.94, child: Container( width: 1164, height: 184, decoration: ShapeDecoration( image: DecorationImage( image: NetworkImage( ""), fit: BoxFit.fill, ), shape: RoundedRectangleBorder( side: BorderSide( width: 5, strokeAlign: BorderSide.strokeAlignOutside, color: Color(0x11444444), ), borderRadius: BorderRadius.circular(12), ), ), ), ), ), Positioned( left: 55, top: 58, child: SizedBox( width: 800, height: 50, child: Text( 'Добро пожаловать, username', style: TextStyle( color: Colors.white, fontSize: 40, fontFamily: 'Unbounded', fontWeight: FontWeight.w600, height: 0, ), ), ), ), Positioned( left: 54, top: 117, child: SizedBox( width: 1084, height: 40, child: Text( 'Приветствуем в панели хостинга netpc.space, тут вы можете управлять вашими услугами', style: TextStyle( color: Colors.white.withOpacity(0.5), fontSize: 24, fontFamily: 'Onest', fontWeight: FontWeight.w600, height: 0, ), ), ), ), ], ), ), ), Positioned( left: 523, top: 314, child: Text( 'Мои сервера', style: TextStyle( color: Colors.white, fontSize: 48, fontFamily: 'Neue Machina', fontWeight: FontWeight.w700, height: 0, letterSpacing: -2.88, ), ), ), Positioned( left: 128, top: 63, child: Text( 'netpc.space\n', style: TextStyle( color: Colors.white, fontSize: 28, fontFamily: 'Unbounded', fontWeight: FontWeight.w600, height: 0, letterSpacing: -1.68, ), ), ), Positioned( left: 61, top: 155, child: Container( width: 67, height: 67, decoration: ShapeDecoration( gradient: LinearGradient( begin: Alignment(1.00, -0.03), end: Alignment(-1, 0.03), colors: [Color(0x7F262626), Color(0xFF181818)], ), shape: RoundedRectangleBorder( side: BorderSide(width: 2, color: Color(0x7F444444)), borderRadius: BorderRadius.circular(24), ), ), ), ), Positioned( left: 79, top: 351, child: Container( width: 109, height: 35, decoration: ShapeDecoration( gradient: LinearGradient( begin: Alignment(1.00, -0.03), end: Alignment(-1, 0.03), colors: [Color(0x7F262626), Color(0xFF181818)], ), shape: RoundedRectangleBorder( side: BorderSide(width: 2, color: Color(0x7F444444)), borderRadius: BorderRadius.circular(12), ), ), ), ), Positioned( left: 79, top: 173, child: Container( width: 30, height: 30, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(), child: FlutterLogo(), ), ), Positioned( left: 150, top: 160, child: Text( 'username', style: TextStyle( color: Colors.white, fontSize: 16, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.96, ), ), ), Positioned( left: 246, top: 158, child: Container( width: 28, height: 25, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(), child: FlutterLogo(), ), ), Positioned( left: 174, top: 193, child: Text( '20000 ₽', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 61, top: 322, child: SizedBox( width: 96, height: 19, child: Text( 'Основное', style: TextStyle( color: Color(0xFFB3C149), fontSize: 15, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), ), Positioned( left: 114, top: 361, child: Text( 'Главная', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 114, top: 396, child: Text( 'Маркет', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 61, top: 431, child: Text( 'Сервера', style: TextStyle( color: Color(0xFF94C638), fontSize: 15, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 94, top: 471, child: Text( 'Мой пидорасный сервер', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 94, top: 506, child: Text( 'Мой пидорасный сервер', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 61, top: 541, child: Text( 'Аккаунт', style: TextStyle( color: Color(0xFF6AA028), fontSize: 15, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 114, top: 582, child: Text( 'Сменить пароль', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), Positioned( left: 114, top: 612, child: Text( 'Тикеты', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, ), ), ), ], ), ), ], ); } }
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.