39 lines
959 B
Dart
39 lines
959 B
Dart
import 'package:aitrainer_app/localization/app_localization.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class Gdpr extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: Container(
|
|
padding: const EdgeInsets.only (left:15, right: 15),
|
|
child: ListView(
|
|
children: <Widget>[
|
|
new InkWell(
|
|
child: new Text(
|
|
AppLocalizations.of(context).translate('gdpr_text'),
|
|
|
|
),
|
|
|
|
customBorder: Border.all(color:Colors.teal, width:1),
|
|
),
|
|
Spacer(flex:2),
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
children: [
|
|
FlatButton(
|
|
textColor: Colors.black,
|
|
|
|
onPressed: () { },
|
|
|
|
)
|
|
],
|
|
)
|
|
],
|
|
)
|
|
)
|
|
);
|
|
}
|
|
|
|
} |