Untitled

mail@pastecode.io avatar
unknown
plain_text
19 days ago
747 B
1
Indexable
Never
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),
        ),
      ),
    );
  }
}
Leave a Comment