2020-06-29 17:38:57 +02:00
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class SearchBar extends StatelessWidget {
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2020-07-09 22:17:10 +02:00
|
|
|
return Container(
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 20.0),
|
|
|
|
child: TextField(
|
|
|
|
controller: TextEditingController(),
|
|
|
|
decoration: InputDecoration(
|
|
|
|
labelText: 'Search',
|
|
|
|
border: OutlineInputBorder(
|
|
|
|
borderRadius: BorderRadius.circular(10.0)
|
|
|
|
),
|
2020-06-29 23:49:45 +02:00
|
|
|
),
|
2020-06-29 17:38:57 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|