Untitled
unknown
plain_text
a year ago
747 B
6
Indexable
import 'package:flutter/material.dart'; void main() { runApp(DesignProApp()); } class DesignProApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'DesignPro', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), home: DesignProHomePage(), ); } } class DesignProHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('DesignPro'), ), body: Center( child: Text( 'Welcome to DesignPro!', style: TextStyle(fontSize: 24.0), ), ), ); } }
Editor is loading...
Leave a Comment