buildConfirmButton method
The confirm button for the preview section. 预览区的确认按钮
Implementation
Widget buildConfirmButton(BuildContext context) {
return MaterialButton(
minWidth: 20,
height: 32,
padding: const EdgeInsets.symmetric(horizontal: 20),
color: theme.colorScheme.secondary,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(3),
),
onPressed: createAssetEntityAndPop,
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
child: Text(
Constants.textDelegate.confirm,
style: TextStyle(
color: theme.textTheme.bodyText1?.color,
fontSize: 17,
fontWeight: FontWeight.normal,
),
),
);
}