mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
优化文本选择样式
This commit is contained in:
4
lib/module/env/env_detail_page.dart
vendored
4
lib/module/env/env_detail_page.dart
vendored
@@ -1,3 +1,5 @@
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
@@ -312,6 +314,8 @@ class EnvDetailCell extends ConsumerWidget {
|
||||
child: SelectableText(
|
||||
desc!,
|
||||
textAlign: TextAlign.right,
|
||||
selectionHeightStyle: BoxHeightStyle.max,
|
||||
selectionWidthStyle: BoxWidthStyle.max,
|
||||
onTap: () {
|
||||
if (taped != null) {
|
||||
taped!();
|
||||
|
||||
Reference in New Issue
Block a user