|
@@ -1,5 +1,6 @@
|
|
|
// ignore_for_file: must_be_immutable
|
|
|
|
|
|
+import 'package:cs_resources/generated/l10n.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
|
@@ -44,7 +45,7 @@ class AlbumDefaultSelectDialog extends StatelessWidget {
|
|
|
topRight: Radius.circular(roundRadios),
|
|
|
)),
|
|
|
child: MyTextView(
|
|
|
- isTypeVideo ? "选择视频" : "选择图片",
|
|
|
+ isTypeVideo ? S.current.choose_video : S.current.choose_image,
|
|
|
paddingTop: 10,
|
|
|
paddingBottom: 10,
|
|
|
textColor: const Color(0xff323843),
|
|
@@ -69,7 +70,7 @@ class AlbumDefaultSelectDialog extends StatelessWidget {
|
|
|
alignment: Alignment.center,
|
|
|
color: bgColor,
|
|
|
child: MyTextView(
|
|
|
- "相机",
|
|
|
+ S.current.camera,
|
|
|
textColor: ColorConstants.blue1578fe,
|
|
|
paddingTop: 15,
|
|
|
paddingBottom: 15,
|
|
@@ -100,7 +101,7 @@ class AlbumDefaultSelectDialog extends StatelessWidget {
|
|
|
bottomLeft: Radius.circular(roundRadios),
|
|
|
)),
|
|
|
child: MyTextView(
|
|
|
- "相册",
|
|
|
+ S.current.album,
|
|
|
textColor: ColorConstants.blue1578fe,
|
|
|
fontSize: 16,
|
|
|
paddingTop: 15,
|
|
@@ -126,11 +127,9 @@ class AlbumDefaultSelectDialog extends StatelessWidget {
|
|
|
margin: const EdgeInsets.only(top: 10),
|
|
|
width: double.infinity,
|
|
|
alignment: Alignment.center,
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: bgColor,
|
|
|
- borderRadius: const BorderRadius.all(Radius.circular(roundRadios))),
|
|
|
+ decoration: BoxDecoration(color: bgColor, borderRadius: const BorderRadius.all(Radius.circular(roundRadios))),
|
|
|
child: MyTextView(
|
|
|
- "取消",
|
|
|
+ S.current.cancel,
|
|
|
textColor: ColorConstants.blue1578fe,
|
|
|
fontSize: 16,
|
|
|
paddingTop: 15,
|