changed app bar with normal package
This commit is contained in:
parent
8822f16dd3
commit
5088ba164b
3 changed files with 16 additions and 36 deletions
|
@ -6,7 +6,6 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_password_strength/flutter_password_strength.dart';
|
||||
import 'package:percent_indicator/percent_indicator.dart';
|
||||
import 'package:photos/core/configuration.dart';
|
||||
import 'package:photos/models/billing_plan.dart';
|
||||
import 'package:photos/services/billing_service.dart';
|
||||
|
@ -18,6 +17,7 @@ import 'package:photos/ui/web_page.dart';
|
|||
import 'package:photos/utils/data_util.dart';
|
||||
import 'package:photos/utils/dialog_util.dart';
|
||||
import 'package:photos/utils/email_util.dart';
|
||||
import 'package:step_progress_indicator/step_progress_indicator.dart';
|
||||
|
||||
class EmailEntryPage extends StatefulWidget {
|
||||
EmailEntryPage({Key key}) : super(key: key);
|
||||
|
@ -64,6 +64,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
|
|||
Widget build(BuildContext context) {
|
||||
final screenWidth = MediaQuery.of(context).size.width;
|
||||
final appBar = AppBar(
|
||||
elevation: 0,
|
||||
leading: Icon(
|
||||
Icons.arrow_back,
|
||||
color: CupertinoColors.black,
|
||||
|
@ -72,33 +73,12 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
|
|||
tag: "sign_up",
|
||||
child: Material(
|
||||
type: MaterialType.transparency,
|
||||
child: Row(
|
||||
children: [
|
||||
LinearPercentIndicator(
|
||||
width: screenWidth * 0.19,
|
||||
lineHeight: 4,
|
||||
percent: 0.5,
|
||||
backgroundColor: Colors.grey[200],
|
||||
progressColor: Theme.of(context).buttonColor),
|
||||
LinearPercentIndicator(
|
||||
width: screenWidth * 0.19,
|
||||
lineHeight: 4,
|
||||
percent: 0.5,
|
||||
backgroundColor: Colors.grey[200],
|
||||
progressColor: Theme.of(context).buttonColor),
|
||||
LinearPercentIndicator(
|
||||
width: screenWidth * 0.19,
|
||||
lineHeight: 4,
|
||||
percent: 0.5,
|
||||
backgroundColor: Colors.grey[200],
|
||||
progressColor: Theme.of(context).buttonColor),
|
||||
LinearPercentIndicator(
|
||||
width: screenWidth * 0.19,
|
||||
lineHeight: 4,
|
||||
percent: 0.5,
|
||||
backgroundColor: Colors.grey[200],
|
||||
progressColor: Theme.of(context).buttonColor),
|
||||
],
|
||||
child: StepProgressIndicator(
|
||||
totalSteps: 4,
|
||||
currentStep: 1,
|
||||
selectedColor: Theme.of(context).buttonColor,
|
||||
roundedEdges: Radius.circular(10),
|
||||
unselectedColor: Theme.of(context).bottomAppBarColor,
|
||||
)),
|
||||
),
|
||||
);
|
||||
|
|
14
pubspec.lock
14
pubspec.lock
|
@ -828,13 +828,6 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.11.1"
|
||||
percent_indicator:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: percent_indicator
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.0.0"
|
||||
permission_handler:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -1110,6 +1103,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.10.0"
|
||||
step_progress_indicator:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: step_progress_indicator
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
stream_channel:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -79,7 +79,6 @@ dependencies:
|
|||
page_transition: ^2.0.2
|
||||
path_provider: ^2.0.1
|
||||
pedantic: ^1.9.2
|
||||
percent_indicator: ^4.0.0
|
||||
photo_manager:
|
||||
git: "https://github.com/ente-io/flutter_photo_manager.git"
|
||||
photo_view: ^0.13.0
|
||||
|
@ -95,6 +94,7 @@ dependencies:
|
|||
shared_preferences: ^2.0.5
|
||||
sqflite: ^2.0.0+3
|
||||
sqflite_migration: ^0.3.0
|
||||
step_progress_indicator: ^1.0.2
|
||||
super_logging:
|
||||
path: thirdparty/super_logging
|
||||
syncfusion_flutter_core: ^19.2.49
|
||||
|
|
Loading…
Reference in a new issue