47 lines
1.4 KiB
Dart
47 lines
1.4 KiB
Dart
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class SubscriptionView extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
Container(
|
|
height: 286,
|
|
width: 317,
|
|
child: Image.asset("assets/images/mags.png"),
|
|
),
|
|
Padding(
|
|
padding: const EdgeInsets.all(24.0),
|
|
child: Text(
|
|
"Voyez ce jeu exquis wallon, de graphie en kit mais bref. Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à côté de l\"alcôve ovoïde, où les bûches se",
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(
|
|
fontSize: 17,
|
|
),
|
|
),
|
|
),
|
|
SizedBox(
|
|
width: 200,
|
|
child: FloatingActionButton.extended(
|
|
onPressed: () => _buyNow(context),
|
|
label: const Text(
|
|
'Payer maintenant',
|
|
style: TextStyle(
|
|
color: Colors.white,
|
|
),
|
|
),
|
|
backgroundColor: Color(0XFF2571F3),
|
|
),
|
|
)
|
|
],
|
|
),
|
|
);
|
|
}
|
|
|
|
_buyNow(BuildContext context) {}
|
|
}
|