mirror of
https://github.com/hackku21/loc-chain-app.git
synced 2024-10-27 20:34:05 +00:00
update to flutter 2.12.0
This commit is contained in:
parent
7e14d242c9
commit
90a0cf0823
@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class HomePage extends StatefulWidget {
|
class HomePage extends StatefulWidget {
|
||||||
HomePage({Key key, this.title}) : super(key: key);
|
HomePage({Key? key, required this.title}) : super(key: key);
|
||||||
final String title;
|
final String title;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -51,7 +51,7 @@ class KeyFileManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class KeygenPage extends StatefulWidget {
|
class KeygenPage extends StatefulWidget {
|
||||||
KeygenPage({Key key, this.title}) : super(key: key);
|
KeygenPage({Key? key, required this.title}) : super(key: key);
|
||||||
final String title;
|
final String title;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -3,7 +3,7 @@ import 'package:loc_chain_app/pages/home.dart';
|
|||||||
import 'package:loc_chain_app/pages/keygen.dart';
|
import 'package:loc_chain_app/pages/keygen.dart';
|
||||||
|
|
||||||
class NavBarWidget extends StatefulWidget {
|
class NavBarWidget extends StatefulWidget {
|
||||||
NavBarWidget({Key key}) : super(key: key);
|
NavBarWidget({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_NavBarWidgetState createState() => _NavBarWidgetState();
|
_NavBarWidgetState createState() => _NavBarWidgetState();
|
||||||
@ -11,7 +11,7 @@ class NavBarWidget extends StatefulWidget {
|
|||||||
|
|
||||||
class _NavBarWidgetState extends State<NavBarWidget> {
|
class _NavBarWidgetState extends State<NavBarWidget> {
|
||||||
int _selectedIndex = 0;
|
int _selectedIndex = 0;
|
||||||
StatefulWidget _selectedWidget;
|
Widget _selectedWidget = HomePage(title: 'Home');
|
||||||
static List<Widget> pages = <Widget>[
|
static List<Widget> pages = <Widget>[
|
||||||
HomePage(
|
HomePage(
|
||||||
title: 'Home',
|
title: 'Home',
|
||||||
|
@ -267,5 +267,5 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.2"
|
version: "0.1.2"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.12.0-0.0 <3.0.0"
|
dart: ">=2.12.0 <3.0.0"
|
||||||
flutter: ">=1.12.13+hotfix.5"
|
flutter: ">=1.12.13+hotfix.5"
|
||||||
|
@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
version: 1.0.0+1
|
version: 1.0.0+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.7.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
|
Loading…
Reference in New Issue
Block a user