Skip to content

Commit

Permalink
v0.7.0-beta-withVoice
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivamGoyal1899 committed Nov 24, 2019
1 parent ec1d33b commit f4dd6c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 186 deletions.
186 changes: 0 additions & 186 deletions lib/screens/homePage.dart

This file was deleted.

18 changes: 18 additions & 0 deletions lib/screens/homeScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import 'package:barcode_scan/barcode_scan.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

import 'voicePayDialog.dart';

class HomeScreen extends StatefulWidget {
@override
_HomeScreenState createState() => _HomeScreenState();
Expand All @@ -15,6 +17,22 @@ class _HomeScreenState extends State<HomeScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
floatingActionButton: FloatingActionButton(
elevation: 4.0,
child: Icon(
Icons.mic_none,
size: 25,
),
onPressed: () {
showDialog(
context: context,
builder: (BuildContext context) {
return VoicePay();
},
);
},
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
backgroundColor: Colors.white,
body: ListView(
padding: EdgeInsets.only(top: 40.0),
Expand Down

0 comments on commit f4dd6c2

Please sign in to comment.