ammaratef45 / hydroponics-garden

A flutter app that can be used to track important dates and service your hydroponically grown plants.
GNU General Public License v3.0
1 stars 1 forks source link

when an added device is clicked it should navigate to device_widget #33

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

https://api.github.com/ammaratef45/hydroponics-garden/blob/dd063bd50cabd7f815bd0d12cf0037e4c76ce144/lib/widgets/devices_widget.dart#L11


import 'package:flutter/material.dart';
import 'package:hydroponic_garden/widgets/main_widget.dart';

class DevicesPage extends StatelessWidget {
  const DevicesPage({super.key});

  @override
  Widget build(BuildContext context) {
    // TODO build this page to allow adding devices
    // TODO added devices should show a snapshot of device status
    // TODO when an added device is clicked it should navigate to device_widget
    return const MainWidget(
      body: Center(
        child: Text('placeholder'),
      ),
    );
  }
}