|
|
|
@ -75,7 +75,7 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
final copyImage = Image.asset('assets/images/copy_content.png');
|
|
|
|
|
|
|
|
|
|
final currentColor = PaletteDark.menuList;
|
|
|
|
|
final notCurrentColor = Colors.transparent;
|
|
|
|
|
final notCurrentColor = PaletteDark.historyPanel;
|
|
|
|
|
|
|
|
|
|
amountController.addListener(() {
|
|
|
|
|
if (_formKey.currentState.validate()) {
|
|
|
|
@ -90,11 +90,10 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
width: MediaQuery.of(context).size.width,
|
|
|
|
|
color: PaletteDark.mainBackgroundColor,
|
|
|
|
|
padding: EdgeInsets.only(top: 24),
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Flexible(
|
|
|
|
|
flex: 2,
|
|
|
|
|
child: Observer(builder: (_) {
|
|
|
|
|
Observer(builder: (_) {
|
|
|
|
|
return Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Spacer(
|
|
|
|
@ -119,7 +118,6 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.all(24),
|
|
|
|
|
child: Row(
|
|
|
|
@ -165,7 +163,7 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
));
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
height: 54,
|
|
|
|
|
height: 48,
|
|
|
|
|
padding: EdgeInsets.only(left: 24, right: 24),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(27)),
|
|
|
|
@ -180,7 +178,7 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.white
|
|
|
|
|
),
|
|
|
|
@ -196,21 +194,22 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Flexible(
|
|
|
|
|
flex: 3,
|
|
|
|
|
child: ClipRRect(
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
|
topLeft: Radius.circular(24),
|
|
|
|
|
topRight: Radius.circular(24),
|
|
|
|
|
),
|
|
|
|
|
child: Container(
|
|
|
|
|
color: PaletteDark.historyPanel,
|
|
|
|
|
),
|
|
|
|
|
child: Observer(
|
|
|
|
|
builder: (_) => ListView.separated(
|
|
|
|
|
separatorBuilder: (context, index) => Divider(
|
|
|
|
|
height: 1,
|
|
|
|
|
color: PaletteDark.menuList,
|
|
|
|
|
),
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
itemCount: subaddressListStore.subaddresses.length + 2,
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
|
|
|
|
@ -302,10 +301,9 @@ class ReceiveBodyState extends State<ReceiveBody> {
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|