Skip to content

Commit

Permalink
V1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LMingJian committed Jan 15, 2024
1 parent 1ad489c commit 0b4d914
Show file tree
Hide file tree
Showing 11 changed files with 206 additions and 86 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ android {
applicationId "com.lmingjian.goods_scanner"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
8 changes: 4 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:fluttertoast/fluttertoast.dart';
// import 'package:goods_scaner/pages/home_page.dart';
import 'package:goods_scanner/pages/home_page2.dart';

Expand All @@ -15,13 +16,11 @@ void main() {
class MyApp extends StatelessWidget {
const MyApp({super.key});

static const appTitle = '商品扫描器';

// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: appTitle,
title: '商品扫描器',
theme: ThemeData(
// This is the theme of your application.
//
Expand All @@ -41,7 +40,8 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const GoodsScannerApp(title: appTitle),
builder: FToastBuilder(),
home: const GoodsScannerApp(),
debugShowCheckedModeBanner: false,
);
}
Expand Down
Loading

0 comments on commit 0b4d914

Please sign in to comment.