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: 61, top: 72, 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: 173, child: Container( width: 30, height: 30, clipBehavior: Clip.antiAlias, decoration: BoxDecoration(), child: FlutterLogo(), ), ), Positioned( left: 150, top: 160, child: Text( 'sh1nee1211', 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: 115, 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, ), ), ), Positioned( left: 399, top: 322, child: Container( width: 837.33, height: 186, child: Stack( children: [ Positioned( left: 6, top: 0, child: Container( width: 831.33, height: 145.93, child: Stack( children: [ Positioned( left: 0, top: 0, child: Container( width: 831.33, height: 102.72, child: Stack( children: [ Positioned( left: 86, top: 6, child: SizedBox( width: 745.33, child: Text( 'Мой пидорасный сервер', style: TextStyle( color: Colors.white, fontSize: 40, fontFamily: 'Unbounded', fontWeight: FontWeight.w700, height: 0, letterSpacing: -2.40, ), ), ), ), Positioned( left: 0, top: 0, child: SizedBox( width: 74.36, height: 102.72, child: Text( '🇩🇪', style: TextStyle( color: Colors.white, fontSize: 64, fontFamily: 'Onest', fontWeight: FontWeight.w500, height: 0, letterSpacing: -3.84, ), ), ), ), ], ), ), ), Positioned( left: 0, top: 81, child: SizedBox( width: 478.83, height: 64.93, 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: 0, top: 124, child: Container( width: 148, height: 62, 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( 'Запустить', style: TextStyle( color: Colors.white, fontSize: 14, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.84, ), ), ], ), ), ), ], ), ), ), Positioned( left: 572, top: 446, child: Container( width: 148, height: 62, 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( 'Остановить', style: TextStyle( color: Colors.white, fontSize: 12, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.72, ), ), ], ), ), ), Positioned( left: 743, top: 446, child: Container( width: 148, height: 62, 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( 'Перезапустить', style: TextStyle( color: Colors.white, fontSize: 11, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.66, ), ), ], ), ), ), Positioned( left: 914, top: 446, child: Container( width: 148, height: 62, 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( 'Переустановить', style: TextStyle( color: Colors.white, fontSize: 11, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -0.66, ), ), ], ), ), ), Positioned( left: 399, top: 556, child: Text( 'Пароль:', style: TextStyle( color: Colors.white, fontSize: 20, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), Positioned( left: 500, top: 556, child: Text( 'sdsdsd', style: TextStyle( color: Colors.white, fontSize: 20, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), Positioned( left: 399, top: 591, child: Text( 'Версия:', style: TextStyle( color: Colors.white, fontSize: 20, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), Positioned( left: 500, top: 591, child: Text( 'Windows Server 2022', style: TextStyle( color: Colors.white, fontSize: 20, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), Positioned( left: 399, top: 626, child: Text( 'VNC Пароль:', style: TextStyle( color: Colors.white, fontSize: 20, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), Positioned( left: 556, top: 626, child: Text( 'sdsdsdd', style: TextStyle( color: Colors.white, fontSize: 20, fontFamily: 'Unbounded', fontWeight: FontWeight.w400, height: 0, letterSpacing: -1.20, ), ), ), Positioned( left: 399, top: 72, child: Container( width: 1176, height: 181, child: Stack( children: [ Positioned( left: 0, top: 0, child: Opacity( opacity: 0.44, child: Container( width: 1176, height: 181, 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: 46, top: 69, child: SizedBox( width: 800, height: 49.18, child: Text( 'Управление сервером', style: TextStyle( color: Colors.white, fontSize: 40, fontFamily: 'Unbounded', fontWeight: FontWeight.w600, height: 0, ), ), ), ), ], ), ), ), ], ), ), ], ); } }
- Assistant