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'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
name: baron_safe_app
|
||||
description: Baron Safe hybrid mobile app for Baron SSO.
|
||||
publish_to: "none"
|
||||
version: 0.1.0+1
|
||||
|
||||
environment:
|
||||
sdk: ">=3.4.0 <4.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_riverpod: ^3.0.3
|
||||
go_router: ^17.0.1
|
||||
http: ^1.6.0
|
||||
webview_flutter: ^4.10.0
|
||||
local_auth: ^2.3.0
|
||||
flutter_secure_storage: ^9.2.2
|
||||
firebase_core: ^3.8.0
|
||||
firebase_messaging: ^15.1.5
|
||||
logging: ^1.2.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^4.0.0
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
Reference in New Issue
Block a user