scaffold_ui 1.1.2 scaffold_ui: ^1.1.2 copied to clipboard
Authentication package for Flutter. Scaffold Supabase, Firebase, Laravel, and more.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Scaffold UI Package',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Nylo'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: const Center(
child: Text("Hello World"),
),
);
}
}