Widget build()

in current_results_ui/lib/main.dart [92:148]


  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.topLeft,
      child: Scaffold(
        appBar: AppBar(
          leading: Align(
            alignment: Alignment.center,
            child: Image.asset('assets/dart_64.png', width: 40.0, height: 40.0),
          ),
          title: const Text('Current Results',
              style: TextStyle(
                  fontSize: 24.0, color: Color.fromARGB(255, 63, 81, 181))),
          backgroundColor: Colors.white,
          bottom: TabBar(
            tabs: [
              Tab(text: 'ALL'),
              Tab(text: 'FAILURES'),
              Tab(text: 'FLAKY'),
            ],
            indicatorColor: Color.fromARGB(255, 63, 81, 181),
            labelColor: Color.fromARGB(255, 63, 81, 181),
            onTap: (tab) {
              // We cannot compare to the previous value, it is gone.
              pushRoute(context, tab: tab);
            },
          ),
        ),
        persistentFooterButtons: [
          const TestSummary(),
          const ResultsSummary(),
          const ApiPortalLink(),
          const JsonLink(),
          const TextPopup(),
        ],
        body: Align(
          alignment: Alignment.topCenter,
          child: Container(
            constraints: BoxConstraints(maxWidth: 1000.0),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                FilterUI(),
                Divider(
                  color: Colors.grey[300],
                  height: 20,
                  thickness: 2,
                ),
                Expanded(
                  child: ResultsPanel(),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }