1
0
mirror of https://github.com/stonega/tsacdop synced 2025-01-10 14:23:08 +01:00
tsacdop-podcast-app-android/lib/home.dart
2020-02-09 20:29:09 +08:00

50 lines
1.3 KiB
Dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'podcastlist.dart';
import 'hometab.dart';
import 'importompl.dart';
import 'audio_player.dart';
import 'homescroll.dart';
import 'pageroute.dart';
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
@override
Widget build(BuildContext context) {
return Column(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Import(),
Container(
height: 30,
padding: EdgeInsets.symmetric(horizontal: 15),
alignment: Alignment.bottomRight,
child: GestureDetector(
onTap: () {
Navigator.push(
context,
SlideLeftRoute(page: Podcast()),
);
},
child: Text('See All',
style: TextStyle(
color: Colors.red[300], fontWeight: FontWeight.bold, )),
)),
Container(
child: ScrollPodcasts()),
Expanded(
child: MainTab(),
),
PlayerWidget(),
],
);
}
}