Next: UI
This commit is contained in:
parent
8c5e461871
commit
79cdb5a099
2 changed files with 17 additions and 2 deletions
|
@ -80,7 +80,7 @@ class _SessionListState extends State<SessionList> with AutomaticKeepAliveClient
|
||||||
side: BorderSide(
|
side: BorderSide(
|
||||||
color: Theme.of(context).colorScheme.outline,
|
color: Theme.of(context).colorScheme.outline,
|
||||||
),
|
),
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(30),
|
||||||
),
|
),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
@ -94,7 +94,7 @@ class _SessionListState extends State<SessionList> with AutomaticKeepAliveClient
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 5,
|
flex: 5,
|
||||||
child: ClipRRect(
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(30),
|
||||||
child: Hero(
|
child: Hero(
|
||||||
tag: session.id,
|
tag: session.id,
|
||||||
child: CachedNetworkImage(
|
child: CachedNetworkImage(
|
||||||
|
@ -112,6 +112,11 @@ class _SessionListState extends State<SessionList> with AutomaticKeepAliveClient
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Expanded(
|
||||||
|
flex: 1
|
||||||
|
child: Padding(padding: ,),
|
||||||
|
|
||||||
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 2,
|
flex: 2,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|
10
lib/widgets/sessions/session_list_next.dart
Normal file
10
lib/widgets/sessions/session_list_next.dart
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import 'package:cached_network_image/cached_network_image.dart';
|
||||||
|
import 'package:OpenContacts/auxiliary.dart';
|
||||||
|
import 'package:OpenContacts/clients/session_client.dart';
|
||||||
|
import 'package:OpenContacts/models/session.dart';
|
||||||
|
import 'package:OpenContacts/widgets/default_error_widget.dart';
|
||||||
|
import 'package:OpenContacts/widgets/formatted_text.dart';
|
||||||
|
import 'package:OpenContacts/widgets/sessions/session_view.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:provider/provider.dart';
|
||||||
|
import 'package:flutter/services.dart';
|
Loading…
Reference in a new issue