change package name to @kz.com.aman.kassa
parent
5024fe2f21
commit
34123689de
|
|
@ -45,7 +45,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.example.aman_kassa_flutter"
|
applicationId "kz.com.aman.kassa"
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.example.aman_kassa_flutter">
|
package="kz.com.aman.kassa">
|
||||||
<!-- Flutter needs it to communicate with the running application
|
<!-- Flutter needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
-->
|
-->
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.example.aman_kassa_flutter">
|
package="kz.com.aman.kassa">
|
||||||
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
||||||
calls FlutterMain.startInitialization(this); in its onCreate method.
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
||||||
In most cases you can leave this as-is, but you if you want to provide
|
In most cases you can leave this as-is, but you if you want to provide
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package com.example.aman_kassa_flutter
|
package kz.com.aman.kassa
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.ContextWrapper
|
import android.content.ContextWrapper
|
||||||
|
|
@ -52,26 +52,24 @@ class _BusyButtonState extends State<BusyButton> {
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
!widget.busy
|
!widget.busy
|
||||||
? Expanded(
|
? Row(
|
||||||
child: Row(
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
children: <Widget>[
|
||||||
children: <Widget>[
|
widget.icon != null
|
||||||
widget.icon != null
|
? Container(
|
||||||
? Container(
|
child: (Icon(
|
||||||
child: (Icon(
|
widget.icon,
|
||||||
widget.icon,
|
color: whiteColor,
|
||||||
color: whiteColor,
|
)),
|
||||||
)),
|
margin: const EdgeInsets.only(right: 10.0),
|
||||||
margin: const EdgeInsets.only(right: 10.0),
|
)
|
||||||
)
|
: (Container()),
|
||||||
: (Container()),
|
AutoSizeText(
|
||||||
AutoSizeText(
|
widget.title,
|
||||||
widget.title,
|
textAlign: TextAlign.center,
|
||||||
textAlign: TextAlign.center,
|
style: buttonTitleTextStyle,
|
||||||
style: buttonTitleTextStyle,
|
),
|
||||||
),
|
],
|
||||||
],
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
: CircularProgressIndicator(
|
: CircularProgressIndicator(
|
||||||
strokeWidth: 2,
|
strokeWidth: 2,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue