updated new flutter version
This commit is contained in:
@@ -35,8 +35,8 @@ class MobileAttributeSelection extends StatefulWidget {
|
||||
class MobileAttributeSelectionState extends State<MobileAttributeSelection> {
|
||||
Product product;
|
||||
int index;
|
||||
FlatButton previousButton;
|
||||
FlatButton nextButton;
|
||||
TextButton previousButton;
|
||||
TextButton nextButton;
|
||||
bool previousButtonEnable;
|
||||
bool nextButtonEnable;
|
||||
|
||||
@@ -159,12 +159,12 @@ class MobileAttributeSelectionState extends State<MobileAttributeSelection> {
|
||||
}
|
||||
|
||||
Widget _getProductContent() {
|
||||
previousButton = new FlatButton(
|
||||
previousButton = TextButton(
|
||||
onPressed: previousButtonEnable ? _goPrevious : null,
|
||||
child: new Text(S.of(context).previous),
|
||||
);
|
||||
|
||||
nextButton = new FlatButton(
|
||||
nextButton = TextButton(
|
||||
onPressed: nextButtonEnable ? _goNext : null,
|
||||
child: new Text(
|
||||
product.productAttributes.length > index + 1 ? nextText : finishText
|
||||
|
||||
Reference in New Issue
Block a user