This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const ProviderScope(child: BaronSafeApp()));
|
||||
}
|
||||
|
||||
class BaronSafeApp extends StatelessWidget {
|
||||
const BaronSafeApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Baron Safe',
|
||||
theme: ThemeData(useMaterial3: true),
|
||||
home: const BaronSafeHome(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class BaronSafeHome extends StatelessWidget {
|
||||
const BaronSafeHome({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: const Text('Baron Safe')),
|
||||
body: const Center(
|
||||
child: Text('Baron Safe hybrid app scaffold'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user